Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Macro BOOST_SCOPE_EXIT_CONFIG_NO_CPP11

BOOST_SCOPE_EXIT_CONFIG_NO_CPP11 — Force not to use C++11 features.

Synopsis

// In header: <boost/scope_exit.hpp>

BOOST_SCOPE_EXIT_CONFIG_NO_CPP11

Description

If 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.


PrevUpHomeNext