Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
BOOST_SCOPE_EXIT_CONFIG_NO_CPP11 — Force not to use C++11 features.
// In header: <boost/scope_exit.hpp>
BOOST_SCOPE_EXIT_CONFIG_NO_CPP11If programmers define this configuration macro, C++11 features will not be used even on C++11 compilers (only C++03 features will be used). By default this macro is not defined.
Note: This macro does not disable comma-separated capture lists on compilers that support variadic macros (programmers can simply use Boost.Preprocessor sequences if they do not wish to use comma-separated capture lists).
See: BOOST_SCOPE_EXIT, BOOST_SCOPE_EXIT_ALL, BOOST_SCOPE_EXIT_END.