summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/Boost/src/boost/scope_exit.hpp')
-rw-r--r--3rdParty/Boost/src/boost/scope_exit.hpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/3rdParty/Boost/src/boost/scope_exit.hpp b/3rdParty/Boost/src/boost/scope_exit.hpp
index de502f4..961b29c 100644
--- a/3rdParty/Boost/src/boost/scope_exit.hpp
+++ b/3rdParty/Boost/src/boost/scope_exit.hpp
@@ -597,5 +597,5 @@ msvc_register_type<T, Organizer> typeof_register_type(const T&,
BOOST_PP_TUPLE_ELEM(2, 1, traits)
-#ifndef BOOST_NO_LAMBDAS
+#ifndef BOOST_NO_CXX11_LAMBDAS
namespace boost { namespace scope_exit { namespace aux {
@@ -678,5 +678,5 @@ private:
#if defined(BOOST_SCOPE_EXIT_CONFIG_USE_LAMBDAS) && \
- !defined(BOOST_NO_LAMBDAS) // Use lambda for SCOPE_EXIT (not just _ALL).
+ !defined(BOOST_NO_CXX11_LAMBDAS) // Use lambda for SCOPE_EXIT (not just _ALL).
#define BOOST_SCOPE_EXIT_AUX_IMPL(id, ty, traits) \
@@ -759,5 +759,5 @@ private:
// PUBLIC //
-#if defined(BOOST_NO_VARIADIC_MACROS) // No variadic macros (sequences only).
+#if defined(BOOST_NO_CXX11_VARIADIC_MACROS) // No variadic macros (sequences only).
# define BOOST_SCOPE_EXIT_ID(id, void_or_seq) \
BOOST_SCOPE_EXIT_AUX_IMPL(id, BOOST_PP_EMPTY(), \
@@ -774,5 +774,5 @@ private:
BOOST_SCOPE_EXIT_ID_TPL(BOOST_LOCAL_FUNCTION_DETAIL_PP_LINE_COUNTER, \
void_or_seq)
-# if !defined(BOOST_NO_LAMBDAS)
+# if !defined(BOOST_NO_CXX11_LAMBDAS)
# define BOOST_SCOPE_EXIT_ALL_ID(id, seq) \
BOOST_SCOPE_EXIT_AUX_IMPL_LAMBDA(id, \
@@ -803,5 +803,5 @@ private:
BOOST_SCOPE_EXIT_ID_TPL(BOOST_LOCAL_FUNCTION_DETAIL_PP_LINE_COUNTER, \
__VA_ARGS__)
-# if !defined(BOOST_NO_LAMBDAS)
+# if !defined(BOOST_NO_CXX11_LAMBDAS)
# define BOOST_SCOPE_EXIT_ALL_ID(id, ...) \
BOOST_SCOPE_EXIT_AUX_IMPL_LAMBDA(id, \
@@ -821,5 +821,5 @@ private:
#if defined(BOOST_SCOPE_EXIT_CONFIG_USE_LAMBDAS) && \
- !defined(BOOST_NO_LAMBDAS) // Use lambdas for SCOPE_EXIT (not just ALL).
+ !defined(BOOST_NO_CXX11_LAMBDAS) // Use lambdas for SCOPE_EXIT (not just ALL).
# define BOOST_SCOPE_EXIT_END_ID(id) \
; /* lambdas ended with just `;` */
@@ -865,5 +865,5 @@ Note how the end of the scope exit body must be marked by
@Param{capture_list,
On compilers that support variadic macros (see also Boost.Config
-<c>BOOST_NO_VARIADIC_MACROS</c>)\, the capture list syntax is defined by the
+<c>BOOST_NO_CXX11_VARIADIC_MACROS</c>)\, the capture list syntax is defined by the
following grammar:
@code
@@ -884,5 +884,5 @@ be used:
@endcode
Furthermore\, if @RefMacro{BOOST_SCOPE_EXIT_CONFIG_USE_LAMBDAS} is defined on
-C++11 compilers that support lambda functions (i.e.\, Boost.Config's <c>BOOST_NO_LAMBDAS</c> is not defined) then a semicolon <c>;</c> can be used instead of
+C++11 compilers that support lambda functions (i.e.\, Boost.Config's <c>BOOST_NO_CXX11_LAMBDAS</c> is not defined) then a semicolon <c>;</c> can be used instead of
@RefMacro{BOOST_SCOPE_EXIT_END} and <c>this</c> can be used instead of
<c>this_</c>:
@@ -1108,5 +1108,5 @@ by a semi-column <c>;</c> (and not by @RefMacro{BOOST_SCOPE_EXIT_END}).
@Warning This macro is only available on C++11 compilers (specifically, on
-C++11 compilers that do not define the Boost.Config <c>BOOST_NO_LAMBDAS</c>
+C++11 compilers that do not define the Boost.Config <c>BOOST_NO_CXX11_LAMBDAS</c>
macro).
It is not defined on non-C++11 compilers so its use on non-C++11 compilers will generate a compiler error.
@@ -1115,5 +1115,5 @@ It is not defined on non-C++11 compilers so its use on non-C++11 compilers will
@Param{capture_list,
On compilers that support variadic macros (see also Boost.Config
-<c>BOOST_NO_VARIADIC_MACROS</c>)\, the capture list syntax is defined by the
+<c>BOOST_NO_CXX11_VARIADIC_MACROS</c>)\, the capture list syntax is defined by the
following grammar:
@code
@@ -1192,5 +1192,5 @@ information).
As with @RefMacro{BOOST_SCOPE_EXIT_ALL}, this macro is only available on C++11
compilers (specifically, on C++11 compilers that do not define the
-Boost.Config <c>BOOST_NO_LAMBDAS</c> macro).
+Boost.Config <c>BOOST_NO_CXX11_LAMBDAS</c> macro).
@Params
@@ -1283,5 +1283,5 @@ portably use <c>__LINE__</c> to internally generate unique identifiers).
If programmers define this configuration macro on a C++11 compiler for which
-the Boost.Config macro <c>BOOST_NO_LAMBDAS</c> is not defined, the
+the Boost.Config macro <c>BOOST_NO_CXX11_LAMBDAS</c> is not defined, the
@RefMacro{BOOST_SCOPE_EXIT} and @RefMacro{BOOST_SCOPE_EXIT_TPL} macros will use
C++11 lambda functions to declare scope exits.