
16 Mar
2012
16 Mar
'12
8:31 p.m.
On 16/03/12 20:55, lcaminiti wrote:
Then, as Alex suggested, I will leave the BOOST_SCOPE_EXIT implementation that uses lambdas however it will be disabled by default, enabled only if users explicitly #define BOOST_SCOPE_EXIT_CONFIG_USE_CXX11_LAMBDAS, and I will document that BOOST_SCOPE_EXIT with lambdas is not backward compatible (unless C++11 is rectified to allow lambdas to capture data members).
Or you could change your library to explicitly require to bind member variables or this, like C++11 does.