diff --git a/doc/macro_reference.qbk b/doc/macro_reference.qbk index 48da112b..76a6a967 100644 --- a/doc/macro_reference.qbk +++ b/doc/macro_reference.qbk @@ -604,6 +604,7 @@ that are not yet supported by a particular compiler or library. [[`BOOST_NO_CXX11_HDR_TYPE_TRAITS`][The standard library does not provide header .]] [[`BOOST_NO_CXX11_HDR_UNORDERED_MAP`][The standard library does not provide header .]] [[`BOOST_NO_CXX11_HDR_UNORDERED_SET`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_INLINE_NAMESPACES`][The compiler does not support inline namespaces.]] [[`BOOST_NO_CXX11_SMART_PTR`][The standard library header has no shared_ptr and unique_ptr.]] [[`BOOST_NO_CXX11_AUTO_DECLARATIONS`][The compiler does not support @@ -676,6 +677,8 @@ scoped enumerations (`enum class`). [[`BOOST_NO_CXX11_STD_UNORDERED`][The standard library does not support and . ]] +[[`BOOST_NO_CXX11_TRAILING_RESULT_TYPES`][The compiler does not support the new function result type +specification syntax (e.g. `auto foo(T) -> T;`).]] [[`BOOST_NO_CXX11_UNICODE_LITERALS`][The compiler does not support Unicode (`u8`, `u`, `U`) literals. ]] diff --git a/include/boost/config/compiler/borland.hpp b/include/boost/config/compiler/borland.hpp index 745c240c..a8f5baae 100644 --- a/include/boost/config/compiler/borland.hpp +++ b/include/boost/config/compiler/borland.hpp @@ -192,6 +192,8 @@ #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #define BOOST_NO_CXX11_USER_DEFINED_LITERALS #define BOOST_NO_CXX11_ALIGNAS +#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES +#define BOOST_NO_CXX11_INLINE_NAMESPACES #if __BORLANDC__ >= 0x590 # define BOOST_HAS_TR1_HASH diff --git a/include/boost/config/compiler/clang.hpp b/include/boost/config/compiler/clang.hpp index 31ca4f18..b57e26c5 100644 --- a/include/boost/config/compiler/clang.hpp +++ b/include/boost/config/compiler/clang.hpp @@ -160,6 +160,14 @@ # define BOOST_NO_CXX11_ALIGNAS #endif +#if !__has_feature(cxx_trailing_return) +# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES +#endif + +#if !__has_feature(cxx_inline_namespaces) +# define BOOST_NO_CXX11_INLINE_NAMESPACES +#endif + // Clang always supports variadic macros // Clang always supports extern templates diff --git a/include/boost/config/compiler/codegear.hpp b/include/boost/config/compiler/codegear.hpp index c60ce7da..00e0bb94 100644 --- a/include/boost/config/compiler/codegear.hpp +++ b/include/boost/config/compiler/codegear.hpp @@ -118,6 +118,8 @@ #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #define BOOST_NO_CXX11_USER_DEFINED_LITERALS #define BOOST_NO_CXX11_ALIGNAS +#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES +#define BOOST_NO_CXX11_INLINE_NAMESPACES // // TR1 macros: diff --git a/include/boost/config/compiler/common_edg.hpp b/include/boost/config/compiler/common_edg.hpp index 8bdf7706..a92f7d2a 100644 --- a/include/boost/config/compiler/common_edg.hpp +++ b/include/boost/config/compiler/common_edg.hpp @@ -102,6 +102,8 @@ #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #define BOOST_NO_CXX11_USER_DEFINED_LITERALS #define BOOST_NO_CXX11_ALIGNAS +#define BOOST_NO_CXX11_TRAILING_RESULT_TYPE +#define BOOST_NO_CXX11_INLINE_NAMESPACES #ifdef c_plusplus // EDG has "long long" in non-strict mode diff --git a/include/boost/config/compiler/digitalmars.hpp b/include/boost/config/compiler/digitalmars.hpp index 0376f1c1..589ca663 100644 --- a/include/boost/config/compiler/digitalmars.hpp +++ b/include/boost/config/compiler/digitalmars.hpp @@ -88,6 +88,8 @@ #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #define BOOST_NO_CXX11_USER_DEFINED_LITERALS #define BOOST_NO_CXX11_ALIGNAS +#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES +#define BOOST_NO_CXX11_INLINE_NAMESPACES #if (__DMC__ < 0x812) #define BOOST_NO_CXX11_VARIADIC_MACROS diff --git a/include/boost/config/compiler/gcc.hpp b/include/boost/config/compiler/gcc.hpp index d2ea38e8..311f7f64 100644 --- a/include/boost/config/compiler/gcc.hpp +++ b/include/boost/config/compiler/gcc.hpp @@ -211,6 +211,8 @@ # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST # define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS # define BOOST_NO_CXX11_DELETED_FUNCTIONS +# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES +# define BOOST_NO_CXX11_INLINE_NAMESPACES #endif #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) diff --git a/include/boost/config/compiler/gcc_xml.hpp b/include/boost/config/compiler/gcc_xml.hpp index 75775594..d2e0c74f 100644 --- a/include/boost/config/compiler/gcc_xml.hpp +++ b/include/boost/config/compiler/gcc_xml.hpp @@ -56,6 +56,8 @@ # define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX # define BOOST_NO_CXX11_USER_DEFINED_LITERALS # define BOOST_NO_CXX11_ALIGNAS +# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES +# define BOOST_NO_CXX11_INLINE_NAMESPACES #define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__ diff --git a/include/boost/config/compiler/hp_acc.hpp b/include/boost/config/compiler/hp_acc.hpp index f4f4b183..f08dca44 100644 --- a/include/boost/config/compiler/hp_acc.hpp +++ b/include/boost/config/compiler/hp_acc.hpp @@ -120,6 +120,8 @@ #define BOOST_NO_CXX11_VARIADIC_TEMPLATES #define BOOST_NO_CXX11_USER_DEFINED_LITERALS #define BOOST_NO_CXX11_ALIGNAS +#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES +#define BOOST_NO_CXX11_INLINE_NAMESPACES /* See https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1443331 and diff --git a/include/boost/config/compiler/intel.hpp b/include/boost/config/compiler/intel.hpp index 243397c4..6e5c7638 100644 --- a/include/boost/config/compiler/intel.hpp +++ b/include/boost/config/compiler/intel.hpp @@ -181,10 +181,10 @@ template<> struct assert_intrinsic_wchar_t {}; // // An attempt to value-initialize a pointer-to-member may trigger an -// internal error on Intel <= 11.1 (last checked version), as was +// internal error on Intel <= 11.1 (last checked version), as was // reported by John Maddock, Intel support issue 589832, May 2010. // Moreover, according to test results from Huang-Vista-x86_32_intel, -// intel-vc9-win-11.1 may leave a non-POD array uninitialized, in some +// intel-vc9-win-11.1 may leave a non-POD array uninitialized, in some // cases when it should be value-initialized. // (Niels Dekker, LKEB, May 2010) // Apparently Intel 12.1 (compiler version number 9999 !!) has the same issue (compiler regression). @@ -229,10 +229,11 @@ template<> struct assert_intrinsic_wchar_t {}; # undef BOOST_NO_CXX11_DECLTYPE # undef BOOST_NO_CXX11_AUTO_DECLARATIONS # undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +# undef BOOST_NO_CXX11_TRAILING_RESULT_TYPES #endif // icl Version 12.1.0.233 Build 20110811 and possibly some other builds -// had an incorrect __INTEL_COMPILER value of 9999. Intel say this has been fixed. +// had an incorrect __INTEL_COMPILER value of 9999. Intel say this has been fixed. #if defined(BOOST_INTEL_STDCXX0X) && (BOOST_INTEL_CXX_VERSION > 1200) # undef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS # undef BOOST_NO_CXX11_NULLPTR @@ -242,8 +243,8 @@ template<> struct assert_intrinsic_wchar_t {}; # undef BOOST_NO_CXX11_VARIADIC_TEMPLATES // http://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler/ -// continues to list scoped enum support as "Partial" -//# undef BOOST_NO_CXX11_SCOPED_ENUMS +// continues to list scoped enum support as "Partial" +//# undef BOOST_NO_CXX11_SCOPED_ENUMS #endif #if defined(_MSC_VER) && (_MSC_VER <= 1700) diff --git a/include/boost/config/compiler/metrowerks.hpp b/include/boost/config/compiler/metrowerks.hpp index 78555891..e1727860 100644 --- a/include/boost/config/compiler/metrowerks.hpp +++ b/include/boost/config/compiler/metrowerks.hpp @@ -121,6 +121,8 @@ #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #define BOOST_NO_CXX11_USER_DEFINED_LITERALS #define BOOST_NO_CXX11_ALIGNAS +#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES +#define BOOST_NO_CXX11_INLINE_NAMESPACES #define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION) diff --git a/include/boost/config/compiler/mpw.hpp b/include/boost/config/compiler/mpw.hpp index a935296e..69104674 100644 --- a/include/boost/config/compiler/mpw.hpp +++ b/include/boost/config/compiler/mpw.hpp @@ -70,6 +70,8 @@ #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #define BOOST_NO_CXX11_USER_DEFINED_LITERALS #define BOOST_NO_CXX11_ALIGNAS +#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES +#define BOOST_NO_CXX11_INLINE_NAMESPACES // // versions check: diff --git a/include/boost/config/compiler/pathscale.hpp b/include/boost/config/compiler/pathscale.hpp index 6f820349..567d83cc 100644 --- a/include/boost/config/compiler/pathscale.hpp +++ b/include/boost/config/compiler/pathscale.hpp @@ -78,5 +78,6 @@ # define BOOST_NO_CXX11_HDR_CHRONO # define BOOST_NO_CXX11_USER_DEFINED_LITERALS # define BOOST_NO_CXX11_ALIGNAS +# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES +# define BOOST_NO_CXX11_INLINE_NAMESPACES #endif - diff --git a/include/boost/config/compiler/pgi.hpp b/include/boost/config/compiler/pgi.hpp index 14cb6fc6..84de184f 100644 --- a/include/boost/config/compiler/pgi.hpp +++ b/include/boost/config/compiler/pgi.hpp @@ -113,6 +113,8 @@ #define BOOST_NO_CXX11_HDR_ARRAY #define BOOST_NO_CXX11_USER_DEFINED_LITERALS #define BOOST_NO_CXX11_ALIGNAS +#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES +#define BOOST_NO_CXX11_INLINE_NAMESPACES // // version check: diff --git a/include/boost/config/compiler/sunpro_cc.hpp b/include/boost/config/compiler/sunpro_cc.hpp index e59eed8e..486d5c43 100644 --- a/include/boost/config/compiler/sunpro_cc.hpp +++ b/include/boost/config/compiler/sunpro_cc.hpp @@ -129,6 +129,8 @@ #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #define BOOST_NO_CXX11_USER_DEFINED_LITERALS #define BOOST_NO_CXX11_ALIGNAS +#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES +#define BOOST_NO_CXX11_INLINE_NAMESPACES // // Version diff --git a/include/boost/config/compiler/vacpp.hpp b/include/boost/config/compiler/vacpp.hpp index e9dabe60..17c02f91 100644 --- a/include/boost/config/compiler/vacpp.hpp +++ b/include/boost/config/compiler/vacpp.hpp @@ -127,6 +127,5 @@ # define BOOST_NO_CXX11_VARIADIC_MACROS #endif #define BOOST_NO_CXX11_ALIGNAS - - - +#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES +#define BOOST_NO_CXX11_INLINE_NAMESPACES diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index c4aa8287..11587f74 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -231,6 +231,7 @@ # define BOOST_NO_CXX11_RAW_LITERALS # define BOOST_NO_CXX11_VARIADIC_TEMPLATES # define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX +# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES #endif // C++11 features not supported by any versions @@ -247,6 +248,7 @@ #define BOOST_NO_TWO_PHASE_NAME_LOOKUP #define BOOST_NO_CXX11_USER_DEFINED_LITERALS #define BOOST_NO_CXX11_ALIGNAS +#define BOOST_NO_CXX11_INLINE_NAMESPACES // // prefix and suffix headers: diff --git a/test/all/Jamfile.v2 b/test/all/Jamfile.v2 index 00478016..262d79db 100644 --- a/test/all/Jamfile.v2 +++ b/test/all/Jamfile.v2 @@ -292,12 +292,18 @@ test-suite "BOOST_NO_CXX11_HDR_UNORDERED_MAP" : test-suite "BOOST_NO_CXX11_HDR_UNORDERED_SET" : [ run ../no_cxx11_hdr_unordered_set_pass.cpp ] [ compile-fail ../no_cxx11_hdr_unordered_set_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_INLINE_NAMESPACES" : +[ run ../no_cxx11_inline_namespaces_pass.cpp ] +[ compile-fail ../no_cxx11_inline_namespaces_fail.cpp ] ; test-suite "BOOST_NO_CXX11_NUMERIC_LIMITS" : [ run ../no_cxx11_numeric_limits_pass.cpp ] [ compile-fail ../no_cxx11_numeric_limits_fail.cpp ] ; test-suite "BOOST_NO_CXX11_SMART_PTR" : [ run ../no_cxx11_smart_ptr_pass.cpp ] [ compile-fail ../no_cxx11_smart_ptr_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_TRAILING_RESULT_TYPES" : +[ run ../no_cxx11_trailing_result_types_pass.cpp ] +[ compile-fail ../no_cxx11_trailing_result_types_fail.cpp ] ; test-suite "BOOST_NO_CXX11_USER_DEFINED_LITERALS" : [ run ../no_cxx11_user_lit_pass.cpp ] [ compile-fail ../no_cxx11_user_lit_fail.cpp ] ; diff --git a/test/boost_no_cxx11_inline_namespaces.ipp b/test/boost_no_cxx11_inline_namespaces.ipp new file mode 100644 index 00000000..5b76da86 --- /dev/null +++ b/test/boost_no_cxx11_inline_namespaces.ipp @@ -0,0 +1,30 @@ +// (C) Copyright Andrey Semashev 2013 + +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +// See http://www.boost.org/libs/config for more information. + +// MACRO: BOOST_NO_CXX11_INLINE_NAMESPACES +// TITLE: C++11 inline namespaces. +// DESCRIPTION: The compiler does not support C++11 inline namespaces. + +namespace boost_no_cxx11_inline_namespaces { + +inline namespace my_ns { + +int data = 0; + +} // namespace my_ns + +int test() +{ + data = 1; + if (&data == &my_ns::data) + return 0; + else + return 1; +} + +} diff --git a/test/boost_no_cxx11_trailing_result_types.ipp b/test/boost_no_cxx11_trailing_result_types.ipp new file mode 100644 index 00000000..17012048 --- /dev/null +++ b/test/boost_no_cxx11_trailing_result_types.ipp @@ -0,0 +1,26 @@ +// (C) Copyright Andrey Semashev 2013 + +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +// See http://www.boost.org/libs/config for more information. + +// MACRO: BOOST_NO_CXX11_TRAILING_RESULT_TYPES +// TITLE: C++11 trailing function result types syntax. +// DESCRIPTION: The compiler does not support the new C++11 function result types specification syntax. + +namespace boost_no_cxx11_trailing_result_types { + +template< typename T > +auto foo(T const& t) -> T +{ + return t; +} + +int test() +{ + return foo(0); +} + +} diff --git a/test/config_info.cpp b/test/config_info.cpp index 21d8d7ea..8b82e81b 100644 --- a/test/config_info.cpp +++ b/test/config_info.cpp @@ -1026,6 +1026,7 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_CXX11_HDR_TYPE_TRAITS); PRINT_MACRO(BOOST_NO_CXX11_HDR_UNORDERED_MAP); PRINT_MACRO(BOOST_NO_CXX11_HDR_UNORDERED_SET); + PRINT_MACRO(BOOST_NO_CXX11_INLINE_NAMESPACES); PRINT_MACRO(BOOST_NO_CXX11_LAMBDAS); PRINT_MACRO(BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS); PRINT_MACRO(BOOST_NO_CXX11_NOEXCEPT); @@ -1038,6 +1039,7 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_CXX11_SMART_PTR); PRINT_MACRO(BOOST_NO_CXX11_STATIC_ASSERT); PRINT_MACRO(BOOST_NO_CXX11_TEMPLATE_ALIASES); + PRINT_MACRO(BOOST_NO_CXX11_TRAILING_RESULT_TYPES); PRINT_MACRO(BOOST_NO_CXX11_UNICODE_LITERALS); PRINT_MACRO(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX); PRINT_MACRO(BOOST_NO_CXX11_USER_DEFINED_LITERALS); diff --git a/test/config_test.cpp b/test/config_test.cpp index f3165e8f..bc19400a 100644 --- a/test/config_test.cpp +++ b/test/config_test.cpp @@ -207,6 +207,16 @@ namespace boost_no_cxx11_hdr_unordered_map = empty_boost; #else namespace boost_no_cxx11_hdr_unordered_set = empty_boost; #endif +#ifndef BOOST_NO_CXX11_INLINE_NAMESPACES +#include "boost_no_cxx11_inline_namespaces.ipp" +#else +namespace boost_no_cxx11_inline_namespaces = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_TRAILING_RESULT_TYPES +#include "boost_no_cxx11_trailing_result_types.ipp" +#else +namespace boost_no_cxx11_trailing_result_types = empty_boost; +#endif #ifndef BOOST_NO_CXX11_NUMERIC_LIMITS #include "boost_no_cxx11_numeric_limits.ipp" #else @@ -1341,6 +1351,11 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_CXX11_HDR_UNORDERED_SET at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_no_cxx11_inline_namespaces::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_INLINE_NAMESPACES at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_no_cxx11_numeric_limits::test()) { std::cerr << "Failed test for BOOST_NO_CXX11_NUMERIC_LIMITS at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1351,6 +1366,11 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_CXX11_SMART_PTR at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_no_cxx11_trailing_result_types::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_TRAILING_RESULT_TYPES at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_no_cxx11_user_defined_literals::test()) { std::cerr << "Failed test for BOOST_NO_CXX11_USER_DEFINED_LITERALS at: " << __FILE__ << ":" << __LINE__ << std::endl; diff --git a/test/no_auto_declarations_fail.cpp b/test/no_auto_declarations_fail.cpp index 712bb2b5..8f770df7 100644 --- a/test/no_auto_declarations_fail.cpp +++ b/test/no_auto_declarations_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_auto_declarations::test(); + return boost_no_cxx11_auto_declarations::test(); } diff --git a/test/no_auto_declarations_pass.cpp b/test/no_auto_declarations_pass.cpp index 5f7099fd..b901aaff 100644 --- a/test/no_auto_declarations_pass.cpp +++ b/test/no_auto_declarations_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_AUTO_DECLARATIONS #include "boost_no_auto_declarations.ipp" #else -namespace boost_no_auto_declarations = empty_boost; +namespace boost_no_cxx11_auto_declarations = empty_boost; #endif int main( int, char *[] ) { - return boost_no_auto_declarations::test(); + return boost_no_cxx11_auto_declarations::test(); } diff --git a/test/no_auto_multidecl_fail.cpp b/test/no_auto_multidecl_fail.cpp index c564e973..66464473 100644 --- a/test/no_auto_multidecl_fail.cpp +++ b/test/no_auto_multidecl_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_auto_multideclarations::test(); + return boost_no_cxx11_auto_multideclarations::test(); } diff --git a/test/no_auto_multidecl_pass.cpp b/test/no_auto_multidecl_pass.cpp index 47d679d3..b2071ea6 100644 --- a/test/no_auto_multidecl_pass.cpp +++ b/test/no_auto_multidecl_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS #include "boost_no_auto_multidecl.ipp" #else -namespace boost_no_auto_multideclarations = empty_boost; +namespace boost_no_cxx11_auto_multideclarations = empty_boost; #endif int main( int, char *[] ) { - return boost_no_auto_multideclarations::test(); + return boost_no_cxx11_auto_multideclarations::test(); } diff --git a/test/no_char16_t_fail.cpp b/test/no_char16_t_fail.cpp index adc00260..63ddf7ac 100644 --- a/test/no_char16_t_fail.cpp +++ b/test/no_char16_t_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_char16_t::test(); + return boost_no_cxx11_char16_t::test(); } diff --git a/test/no_char16_t_pass.cpp b/test/no_char16_t_pass.cpp index 98735adc..b714f098 100644 --- a/test/no_char16_t_pass.cpp +++ b/test/no_char16_t_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_CHAR16_T #include "boost_no_char16_t.ipp" #else -namespace boost_no_char16_t = empty_boost; +namespace boost_no_cxx11_char16_t = empty_boost; #endif int main( int, char *[] ) { - return boost_no_char16_t::test(); + return boost_no_cxx11_char16_t::test(); } diff --git a/test/no_char32_t_fail.cpp b/test/no_char32_t_fail.cpp index 4d3e8eb4..868050ee 100644 --- a/test/no_char32_t_fail.cpp +++ b/test/no_char32_t_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_char32_t::test(); + return boost_no_cxx11_char32_t::test(); } diff --git a/test/no_char32_t_pass.cpp b/test/no_char32_t_pass.cpp index 10dccbe6..4bb7d5f3 100644 --- a/test/no_char32_t_pass.cpp +++ b/test/no_char32_t_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_CHAR32_T #include "boost_no_char32_t.ipp" #else -namespace boost_no_char32_t = empty_boost; +namespace boost_no_cxx11_char32_t = empty_boost; #endif int main( int, char *[] ) { - return boost_no_char32_t::test(); + return boost_no_cxx11_char32_t::test(); } diff --git a/test/no_constexpr_fail.cpp b/test/no_constexpr_fail.cpp index 1d39ea40..0f1163c4 100644 --- a/test/no_constexpr_fail.cpp +++ b/test/no_constexpr_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_constexpr::test(); + return boost_no_cxx11_constexpr::test(); } diff --git a/test/no_constexpr_pass.cpp b/test/no_constexpr_pass.cpp index b5be562c..fbacd360 100644 --- a/test/no_constexpr_pass.cpp +++ b/test/no_constexpr_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_CONSTEXPR #include "boost_no_constexpr.ipp" #else -namespace boost_no_constexpr = empty_boost; +namespace boost_no_cxx11_constexpr = empty_boost; #endif int main( int, char *[] ) { - return boost_no_constexpr::test(); + return boost_no_cxx11_constexpr::test(); } diff --git a/test/no_cxx11_inline_namespaces_fail.cpp b/test/no_cxx11_inline_namespaces_fail.cpp new file mode 100644 index 00000000..09ca60c8 --- /dev/null +++ b/test/no_cxx11_inline_namespaces_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Sun Apr 28 18:36:48 2013 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +// See http://www.boost.org/libs/config for the most recent version.// +// Revision $Id$ +// + + +// Test file for macro BOOST_NO_CXX11_INLINE_NAMESPACES +// This file should not compile, if it does then +// BOOST_NO_CXX11_INLINE_NAMESPACES should not be defined. +// See file boost_no_cxx11_inline_namespaces.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_INLINE_NAMESPACES +#include "boost_no_cxx11_inline_namespaces.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_inline_namespaces::test(); +} + diff --git a/test/no_cxx11_inline_namespaces_pass.cpp b/test/no_cxx11_inline_namespaces_pass.cpp new file mode 100644 index 00000000..4988af97 --- /dev/null +++ b/test/no_cxx11_inline_namespaces_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Sun Apr 28 18:36:48 2013 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +// See http://www.boost.org/libs/config for the most recent version.// +// Revision $Id$ +// + + +// Test file for macro BOOST_NO_CXX11_INLINE_NAMESPACES +// This file should compile, if it does not then +// BOOST_NO_CXX11_INLINE_NAMESPACES should be defined. +// See file boost_no_cxx11_inline_namespaces.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_INLINE_NAMESPACES +#include "boost_no_cxx11_inline_namespaces.ipp" +#else +namespace boost_no_cxx11_inline_namespaces = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_inline_namespaces::test(); +} + diff --git a/test/no_cxx11_trailing_result_types_fail.cpp b/test/no_cxx11_trailing_result_types_fail.cpp new file mode 100644 index 00000000..edabc2de --- /dev/null +++ b/test/no_cxx11_trailing_result_types_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Sun Apr 28 18:36:48 2013 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +// See http://www.boost.org/libs/config for the most recent version.// +// Revision $Id$ +// + + +// Test file for macro BOOST_NO_CXX11_TRAILING_RESULT_TYPES +// This file should not compile, if it does then +// BOOST_NO_CXX11_TRAILING_RESULT_TYPES should not be defined. +// See file boost_no_cxx11_trailing_result_types.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_TRAILING_RESULT_TYPES +#include "boost_no_cxx11_trailing_result_types.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_trailing_result_types::test(); +} + diff --git a/test/no_cxx11_trailing_result_types_pass.cpp b/test/no_cxx11_trailing_result_types_pass.cpp new file mode 100644 index 00000000..6cc54cf0 --- /dev/null +++ b/test/no_cxx11_trailing_result_types_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Sun Apr 28 18:36:48 2013 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +// See http://www.boost.org/libs/config for the most recent version.// +// Revision $Id$ +// + + +// Test file for macro BOOST_NO_CXX11_TRAILING_RESULT_TYPES +// This file should compile, if it does not then +// BOOST_NO_CXX11_TRAILING_RESULT_TYPES should be defined. +// See file boost_no_cxx11_trailing_result_types.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_TRAILING_RESULT_TYPES +#include "boost_no_cxx11_trailing_result_types.ipp" +#else +namespace boost_no_cxx11_trailing_result_types = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_trailing_result_types::test(); +} + diff --git a/test/no_decltype_fail.cpp b/test/no_decltype_fail.cpp index 6fbd3b97..59be5866 100644 --- a/test/no_decltype_fail.cpp +++ b/test/no_decltype_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_decltype::test(); + return boost_no_cxx11_decltype::test(); } diff --git a/test/no_decltype_pass.cpp b/test/no_decltype_pass.cpp index 872c7b8f..91dfe258 100644 --- a/test/no_decltype_pass.cpp +++ b/test/no_decltype_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_DECLTYPE #include "boost_no_decltype.ipp" #else -namespace boost_no_decltype = empty_boost; +namespace boost_no_cxx11_decltype = empty_boost; #endif int main( int, char *[] ) { - return boost_no_decltype::test(); + return boost_no_cxx11_decltype::test(); } diff --git a/test/no_defaulted_functions_fail.cpp b/test/no_defaulted_functions_fail.cpp index 858dbe26..58569579 100644 --- a/test/no_defaulted_functions_fail.cpp +++ b/test/no_defaulted_functions_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_defaulted_functions::test(); + return boost_no_cxx11_defaulted_functions::test(); } diff --git a/test/no_defaulted_functions_pass.cpp b/test/no_defaulted_functions_pass.cpp index 3a3117c1..d35f89e0 100644 --- a/test/no_defaulted_functions_pass.cpp +++ b/test/no_defaulted_functions_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS #include "boost_no_defaulted_functions.ipp" #else -namespace boost_no_defaulted_functions = empty_boost; +namespace boost_no_cxx11_defaulted_functions = empty_boost; #endif int main( int, char *[] ) { - return boost_no_defaulted_functions::test(); + return boost_no_cxx11_defaulted_functions::test(); } diff --git a/test/no_deleted_functions_fail.cpp b/test/no_deleted_functions_fail.cpp index fa1687fa..e08abe88 100644 --- a/test/no_deleted_functions_fail.cpp +++ b/test/no_deleted_functions_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_deleted_functions::test(); + return boost_no_cxx11_deleted_functions::test(); } diff --git a/test/no_deleted_functions_pass.cpp b/test/no_deleted_functions_pass.cpp index 2a7adea3..d157332a 100644 --- a/test/no_deleted_functions_pass.cpp +++ b/test/no_deleted_functions_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_DELETED_FUNCTIONS #include "boost_no_deleted_functions.ipp" #else -namespace boost_no_deleted_functions = empty_boost; +namespace boost_no_cxx11_deleted_functions = empty_boost; #endif int main( int, char *[] ) { - return boost_no_deleted_functions::test(); + return boost_no_cxx11_deleted_functions::test(); } diff --git a/test/no_explicit_cvt_ops_fail.cpp b/test/no_explicit_cvt_ops_fail.cpp index 405bb798..ba150874 100644 --- a/test/no_explicit_cvt_ops_fail.cpp +++ b/test/no_explicit_cvt_ops_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_explicit_conversion_operators::test(); + return boost_no_cxx11_explicit_conversion_operators::test(); } diff --git a/test/no_explicit_cvt_ops_pass.cpp b/test/no_explicit_cvt_ops_pass.cpp index fde15fa8..2e3c4206 100644 --- a/test/no_explicit_cvt_ops_pass.cpp +++ b/test/no_explicit_cvt_ops_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS #include "boost_no_explicit_cvt_ops.ipp" #else -namespace boost_no_explicit_conversion_operators = empty_boost; +namespace boost_no_cxx11_explicit_conversion_operators = empty_boost; #endif int main( int, char *[] ) { - return boost_no_explicit_conversion_operators::test(); + return boost_no_cxx11_explicit_conversion_operators::test(); } diff --git a/test/no_extern_template_fail.cpp b/test/no_extern_template_fail.cpp index c5427302..80c87744 100644 --- a/test/no_extern_template_fail.cpp +++ b/test/no_extern_template_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_extern_template::test(); + return boost_no_cxx11_extern_template::test(); } diff --git a/test/no_extern_template_pass.cpp b/test/no_extern_template_pass.cpp index 9d0354f4..acbd037c 100644 --- a/test/no_extern_template_pass.cpp +++ b/test/no_extern_template_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_EXTERN_TEMPLATE #include "boost_no_extern_template.ipp" #else -namespace boost_no_extern_template = empty_boost; +namespace boost_no_cxx11_extern_template = empty_boost; #endif int main( int, char *[] ) { - return boost_no_extern_template::test(); + return boost_no_cxx11_extern_template::test(); } diff --git a/test/no_function_template_default_args_fail.cpp b/test/no_function_template_default_args_fail.cpp index 98ab7e13..e10568e8 100644 --- a/test/no_function_template_default_args_fail.cpp +++ b/test/no_function_template_default_args_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_function_template_default_args::test(); + return boost_no_cxx11_function_template_default_args::test(); } diff --git a/test/no_function_template_default_args_pass.cpp b/test/no_function_template_default_args_pass.cpp index 44d3804b..478c9862 100644 --- a/test/no_function_template_default_args_pass.cpp +++ b/test/no_function_template_default_args_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS #include "boost_no_function_template_default_args.ipp" #else -namespace boost_no_function_template_default_args = empty_boost; +namespace boost_no_cxx11_function_template_default_args = empty_boost; #endif int main( int, char *[] ) { - return boost_no_function_template_default_args::test(); + return boost_no_cxx11_function_template_default_args::test(); } diff --git a/test/no_lambdas_fail.cpp b/test/no_lambdas_fail.cpp index 762d2968..68680bc9 100644 --- a/test/no_lambdas_fail.cpp +++ b/test/no_lambdas_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_lambdas::test(); + return boost_no_cxx11_lambdas::test(); } diff --git a/test/no_lambdas_pass.cpp b/test/no_lambdas_pass.cpp index 531613fc..453a72a7 100644 --- a/test/no_lambdas_pass.cpp +++ b/test/no_lambdas_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_LAMBDAS #include "boost_no_lambdas.ipp" #else -namespace boost_no_lambdas = empty_boost; +namespace boost_no_cxx11_lambdas = empty_boost; #endif int main( int, char *[] ) { - return boost_no_lambdas::test(); + return boost_no_cxx11_lambdas::test(); } diff --git a/test/no_noexcept_fail.cpp b/test/no_noexcept_fail.cpp index dfc95e01..b49d9bed 100644 --- a/test/no_noexcept_fail.cpp +++ b/test/no_noexcept_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_noexcept::test(); + return boost_no_cxx11_noexcept::test(); } diff --git a/test/no_noexcept_pass.cpp b/test/no_noexcept_pass.cpp index 3f923c92..4f07f7d0 100644 --- a/test/no_noexcept_pass.cpp +++ b/test/no_noexcept_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_NOEXCEPT #include "boost_no_noexcept.ipp" #else -namespace boost_no_noexcept = empty_boost; +namespace boost_no_cxx11_noexcept = empty_boost; #endif int main( int, char *[] ) { - return boost_no_noexcept::test(); + return boost_no_cxx11_noexcept::test(); } diff --git a/test/no_nullptr_fail.cpp b/test/no_nullptr_fail.cpp index 8daa9ce8..c870ef23 100644 --- a/test/no_nullptr_fail.cpp +++ b/test/no_nullptr_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_nullptr::test(); + return boost_no_cxx11_nullptr::test(); } diff --git a/test/no_nullptr_pass.cpp b/test/no_nullptr_pass.cpp index d2380f42..34450ad5 100644 --- a/test/no_nullptr_pass.cpp +++ b/test/no_nullptr_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_NULLPTR #include "boost_no_nullptr.ipp" #else -namespace boost_no_nullptr = empty_boost; +namespace boost_no_cxx11_nullptr = empty_boost; #endif int main( int, char *[] ) { - return boost_no_nullptr::test(); + return boost_no_cxx11_nullptr::test(); } diff --git a/test/no_raw_literals_fail.cpp b/test/no_raw_literals_fail.cpp index 294bcfd7..3c535fad 100644 --- a/test/no_raw_literals_fail.cpp +++ b/test/no_raw_literals_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_raw_literals::test(); + return boost_no_cxx11_raw_literals::test(); } diff --git a/test/no_raw_literals_pass.cpp b/test/no_raw_literals_pass.cpp index 0fea9d5f..ddf99c27 100644 --- a/test/no_raw_literals_pass.cpp +++ b/test/no_raw_literals_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_RAW_LITERALS #include "boost_no_raw_literals.ipp" #else -namespace boost_no_raw_literals = empty_boost; +namespace boost_no_cxx11_raw_literals = empty_boost; #endif int main( int, char *[] ) { - return boost_no_raw_literals::test(); + return boost_no_cxx11_raw_literals::test(); } diff --git a/test/no_rvalue_references_fail.cpp b/test/no_rvalue_references_fail.cpp index ca283f3e..390b6c5f 100644 --- a/test/no_rvalue_references_fail.cpp +++ b/test/no_rvalue_references_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_rvalue_references::test(); + return boost_no_cxx11_rvalue_references::test(); } diff --git a/test/no_rvalue_references_pass.cpp b/test/no_rvalue_references_pass.cpp index c253c342..c11494c6 100644 --- a/test/no_rvalue_references_pass.cpp +++ b/test/no_rvalue_references_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES #include "boost_no_rvalue_references.ipp" #else -namespace boost_no_rvalue_references = empty_boost; +namespace boost_no_cxx11_rvalue_references = empty_boost; #endif int main( int, char *[] ) { - return boost_no_rvalue_references::test(); + return boost_no_cxx11_rvalue_references::test(); } diff --git a/test/no_scoped_enums_fail.cpp b/test/no_scoped_enums_fail.cpp index a02eb1e8..4c1c184d 100644 --- a/test/no_scoped_enums_fail.cpp +++ b/test/no_scoped_enums_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_scoped_enums::test(); + return boost_no_cxx11_scoped_enums::test(); } diff --git a/test/no_scoped_enums_pass.cpp b/test/no_scoped_enums_pass.cpp index 64e9d346..501fea90 100644 --- a/test/no_scoped_enums_pass.cpp +++ b/test/no_scoped_enums_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_SCOPED_ENUMS #include "boost_no_scoped_enums.ipp" #else -namespace boost_no_scoped_enums = empty_boost; +namespace boost_no_cxx11_scoped_enums = empty_boost; #endif int main( int, char *[] ) { - return boost_no_scoped_enums::test(); + return boost_no_cxx11_scoped_enums::test(); } diff --git a/test/no_static_assert_fail.cpp b/test/no_static_assert_fail.cpp index 5ae5e809..f958c683 100644 --- a/test/no_static_assert_fail.cpp +++ b/test/no_static_assert_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_static_assert::test(); + return boost_no_cxx11_static_assert::test(); } diff --git a/test/no_static_assert_pass.cpp b/test/no_static_assert_pass.cpp index fbc50593..85298876 100644 --- a/test/no_static_assert_pass.cpp +++ b/test/no_static_assert_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_STATIC_ASSERT #include "boost_no_static_assert.ipp" #else -namespace boost_no_static_assert = empty_boost; +namespace boost_no_cxx11_static_assert = empty_boost; #endif int main( int, char *[] ) { - return boost_no_static_assert::test(); + return boost_no_cxx11_static_assert::test(); } diff --git a/test/no_tem_local_classes_fail.cpp b/test/no_tem_local_classes_fail.cpp index b9ac5ae6..f6c2a31f 100644 --- a/test/no_tem_local_classes_fail.cpp +++ b/test/no_tem_local_classes_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_local_class_template_parameters::test(); + return boost_no_cxx11_local_class_template_parameters::test(); } diff --git a/test/no_tem_local_classes_pass.cpp b/test/no_tem_local_classes_pass.cpp index 140bd6be..036819c1 100644 --- a/test/no_tem_local_classes_pass.cpp +++ b/test/no_tem_local_classes_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS #include "boost_no_tem_local_classes.ipp" #else -namespace boost_no_local_class_template_parameters = empty_boost; +namespace boost_no_cxx11_local_class_template_parameters = empty_boost; #endif int main( int, char *[] ) { - return boost_no_local_class_template_parameters::test(); + return boost_no_cxx11_local_class_template_parameters::test(); } diff --git a/test/no_template_aliases_fail.cpp b/test/no_template_aliases_fail.cpp index cb4cabd6..fd4af49e 100644 --- a/test/no_template_aliases_fail.cpp +++ b/test/no_template_aliases_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_template_aliases::test(); + return boost_no_cxx11_template_aliases::test(); } diff --git a/test/no_template_aliases_pass.cpp b/test/no_template_aliases_pass.cpp index 570b7238..ed66a355 100644 --- a/test/no_template_aliases_pass.cpp +++ b/test/no_template_aliases_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_TEMPLATE_ALIASES #include "boost_no_template_aliases.ipp" #else -namespace boost_no_template_aliases = empty_boost; +namespace boost_no_cxx11_template_aliases = empty_boost; #endif int main( int, char *[] ) { - return boost_no_template_aliases::test(); + return boost_no_cxx11_template_aliases::test(); } diff --git a/test/no_unicode_literals_fail.cpp b/test/no_unicode_literals_fail.cpp index 57d7e3f8..381f562a 100644 --- a/test/no_unicode_literals_fail.cpp +++ b/test/no_unicode_literals_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_unicode_literals::test(); + return boost_no_cxx11_unicode_literals::test(); } diff --git a/test/no_unicode_literals_pass.cpp b/test/no_unicode_literals_pass.cpp index 88e73126..3fd45470 100644 --- a/test/no_unicode_literals_pass.cpp +++ b/test/no_unicode_literals_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_UNICODE_LITERALS #include "boost_no_unicode_literals.ipp" #else -namespace boost_no_unicode_literals = empty_boost; +namespace boost_no_cxx11_unicode_literals = empty_boost; #endif int main( int, char *[] ) { - return boost_no_unicode_literals::test(); + return boost_no_cxx11_unicode_literals::test(); } diff --git a/test/no_unified_init_fail.cpp b/test/no_unified_init_fail.cpp index cc92327b..5535fe7d 100644 --- a/test/no_unified_init_fail.cpp +++ b/test/no_unified_init_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_unified_initialization_syntax::test(); + return boost_no_cxx11_unified_initialization_syntax::test(); } diff --git a/test/no_unified_init_pass.cpp b/test/no_unified_init_pass.cpp index facd0f3b..f4cf5717 100644 --- a/test/no_unified_init_pass.cpp +++ b/test/no_unified_init_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #include "boost_no_unified_init.ipp" #else -namespace boost_no_unified_initialization_syntax = empty_boost; +namespace boost_no_cxx11_unified_initialization_syntax = empty_boost; #endif int main( int, char *[] ) { - return boost_no_unified_initialization_syntax::test(); + return boost_no_cxx11_unified_initialization_syntax::test(); } diff --git a/test/no_variadic_macros_fail.cpp b/test/no_variadic_macros_fail.cpp index f92c1454..d76c4f36 100644 --- a/test/no_variadic_macros_fail.cpp +++ b/test/no_variadic_macros_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_variadic_macros::test(); + return boost_no_cxx11_variadic_macros::test(); } diff --git a/test/no_variadic_macros_pass.cpp b/test/no_variadic_macros_pass.cpp index d1624eb8..291b6ea6 100644 --- a/test/no_variadic_macros_pass.cpp +++ b/test/no_variadic_macros_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_VARIADIC_MACROS #include "boost_no_variadic_macros.ipp" #else -namespace boost_no_variadic_macros = empty_boost; +namespace boost_no_cxx11_variadic_macros = empty_boost; #endif int main( int, char *[] ) { - return boost_no_variadic_macros::test(); + return boost_no_cxx11_variadic_macros::test(); } diff --git a/test/no_variadic_templates_fail.cpp b/test/no_variadic_templates_fail.cpp index 23bf1c3a..05fc2c7a 100644 --- a/test/no_variadic_templates_fail.cpp +++ b/test/no_variadic_templates_fail.cpp @@ -32,6 +32,6 @@ int main( int, char *[] ) { - return boost_no_variadic_templates::test(); + return boost_no_cxx11_variadic_templates::test(); } diff --git a/test/no_variadic_templates_pass.cpp b/test/no_variadic_templates_pass.cpp index 7ba08850..2b95540e 100644 --- a/test/no_variadic_templates_pass.cpp +++ b/test/no_variadic_templates_pass.cpp @@ -27,11 +27,11 @@ #ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES #include "boost_no_variadic_templates.ipp" #else -namespace boost_no_variadic_templates = empty_boost; +namespace boost_no_cxx11_variadic_templates = empty_boost; #endif int main( int, char *[] ) { - return boost_no_variadic_templates::test(); + return boost_no_cxx11_variadic_templates::test(); }