$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [scope_exit] Doesn't included in Boost yet?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2009-01-13 13:37:36
Alexander Nasonov wrote:
> As we're getting closer to C++0x with lambdas, scope_exit becomes less
> attractive because one can write something like:
>
> using boost::multi_index::detail;
> scope_guard g = make_guard( [&a, b]() -> void { /* ⦠*/ } );
That will be nice, however, wide adoption of C++0x is still quite
distant. ScopeExit is a very good solution for C++03, I'm eagerly
waiting for its inclusion.