X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=boost%2Flocal_function.hpp;h=548bbbb62f95a603c8a3606b83301879f641225b;hb=08c1e93fa36a49f49325a07fe91ff92c964c2b6c;hp=9f259e6e193451ce8a743e9b4aad3bbdd4ee4036;hpb=bb4dd8289b351fae6b55e303f189127a394a1edd;p=platform%2Fupstream%2Fboost.git diff --git a/boost/local_function.hpp b/boost/local_function.hpp index 9f259e6..548bbbb 100644 --- a/boost/local_function.hpp +++ b/boost/local_function.hpp @@ -20,7 +20,7 @@ // PUBLIC // -#ifdef BOOST_NO_VARIADIC_MACROS +#ifdef BOOST_NO_CXX11_VARIADIC_MACROS # define BOOST_LOCAL_FUNCTION_ID(id, declarations) \ BOOST_LOCAL_FUNCTION_AUX_DECL(id, 0 /* not within template */, \ BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS( \ @@ -344,7 +344,7 @@ On C++11 compilers, there is no need to declare a local function lined because this library will automatically use C++11 specific features to inline the local function while always allowing to pass it as a template parameter. This optimization is automatically enabled when the Boost.Config macro -BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS is not defined but it also be +BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS is not defined but it also be forced using @RefMacro{BOOST_LOCAL_FUNCTION_CONFIG_LOCALS_AS_TPARAMS}. The local function name can also be qualified by prefixing it with the