Subject: Re: [boost] [scope_exit] Doesn't included in Boost yet?
From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2009-01-14 07:04:01
Philippe Vaucher <philippe.vaucher <at> gmail.com> writes:
> I second that. I think we can always "0xize" the library later on, and
> probably that boost is going to change a little when C++0x arrives anyway so
> this could be part of that process.
Beman gave me permission to commit the library. I'll do it tonight.
Regarding "0xfication", see my other post for capture list syntax.
C++0x code will be nicer:
BOOST_SCOPE_EXIT(&a, &b, c)
std::cout << a << '\n' << b << '\n' << c << '\n';
Variadic pp args and no BOOST_SCOPE_EXIT_END after the closing bracket.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk