From bc0114f7c8a51114577e5f63add8de7fa6e3fde1 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Sun, 15 Jul 2012 15:59:05 +0000 Subject: [PATCH] Merge rework of C++11 config macros to release [SVN r79537] --- doc/macro_reference.qbk | 94 ++++--- include/boost/config/compiler/borland.hpp | 55 +++-- include/boost/config/compiler/clang.hpp | 50 ++-- include/boost/config/compiler/codegear.hpp | 37 +-- include/boost/config/compiler/common_edg.hpp | 51 ++-- include/boost/config/compiler/cray.hpp | 47 ++-- include/boost/config/compiler/digitalmars.hpp | 49 ++-- include/boost/config/compiler/gcc.hpp | 55 +++-- include/boost/config/compiler/gcc_xml.hpp | 50 ++-- include/boost/config/compiler/hp_acc.hpp | 49 ++-- include/boost/config/compiler/intel.hpp | 50 ++-- include/boost/config/compiler/metrowerks.hpp | 51 ++-- include/boost/config/compiler/mpw.hpp | 51 ++-- include/boost/config/compiler/pathscale.hpp | 50 ++-- include/boost/config/compiler/pgi.hpp | 58 ++--- include/boost/config/compiler/sunpro_cc.hpp | 51 ++-- include/boost/config/compiler/vacpp.hpp | 63 +++-- include/boost/config/compiler/visualc.hpp | 58 +++-- include/boost/config/stdlib/dinkumware.hpp | 3 +- include/boost/config/stdlib/libcomo.hpp | 3 +- include/boost/config/stdlib/libstdcpp3.hpp | 3 +- include/boost/config/stdlib/modena.hpp | 3 +- include/boost/config/stdlib/msl.hpp | 3 +- include/boost/config/stdlib/roguewave.hpp | 3 +- include/boost/config/stdlib/sgi.hpp | 3 +- include/boost/config/stdlib/stlport.hpp | 7 +- include/boost/config/stdlib/vacpp.hpp | 3 +- include/boost/config/suffix.hpp | 232 +++++++++++++----- test/all/Jamfile.v2 | 61 ++--- test/boost_no_auto_declarations.ipp | 4 +- test/boost_no_auto_multidecl.ipp | 4 +- test/boost_no_char16_t.ipp | 4 +- test/boost_no_char32_t.ipp | 4 +- test/boost_no_constexpr.ipp | 4 +- ....ipp => boost_no_cxx11_numeric_limits.ipp} | 4 +- test/boost_no_decltype.ipp | 4 +- test/boost_no_decltype_n3276.ipp | 4 +- test/boost_no_defaulted_functions.ipp | 4 +- test/boost_no_deleted_functions.ipp | 4 +- test/boost_no_explicit_cvt_ops.ipp | 4 +- test/boost_no_extern_template.ipp | 4 +- ...oost_no_function_template_default_args.ipp | 4 +- test/boost_no_lambdas.ipp | 4 +- test/boost_no_noexcept.ipp | 4 +- test/boost_no_nullptr.ipp | 4 +- test/boost_no_range_based_for.ipp | 23 ++ test/boost_no_raw_literals.ipp | 4 +- test/boost_no_rvalue_references.ipp | 4 +- test/boost_no_scoped_enums.ipp | 4 +- test/boost_no_static_assert.ipp | 4 +- test/boost_no_tem_local_classes.ipp | 4 +- test/boost_no_template_aliases.ipp | 4 +- test/boost_no_unicode_literals.ipp | 4 +- test/boost_no_unified_init.ipp | 4 +- test/boost_no_variadic_macros.ipp | 4 +- test/boost_no_variadic_templates.ipp | 4 +- test/config_info.cpp | 57 +++-- test/config_test.cpp | 222 +++++++++-------- test/limits_test.cpp | 7 +- test/link/link_test.hpp | 4 +- test/link/main.cpp | 2 +- test/no_auto_declarations_fail.cpp | 6 +- test/no_auto_declarations_pass.cpp | 6 +- test/no_auto_multidecl_fail.cpp | 6 +- test/no_auto_multidecl_pass.cpp | 6 +- test/no_char16_t_fail.cpp | 6 +- test/no_char16_t_pass.cpp | 6 +- test/no_char32_t_fail.cpp | 6 +- test/no_char32_t_pass.cpp | 6 +- test/no_constexpr_fail.cpp | 6 +- test/no_constexpr_pass.cpp | 6 +- ...l.cpp => no_cxx11_numeric_limits_fail.cpp} | 10 +- ...s.cpp => no_cxx11_numeric_limits_pass.cpp} | 12 +- test/no_decltype_fail.cpp | 6 +- test/no_decltype_n3276_fail.cpp | 6 +- test/no_decltype_n3276_pass.cpp | 6 +- test/no_decltype_pass.cpp | 6 +- test/no_defaulted_functions_fail.cpp | 6 +- test/no_defaulted_functions_pass.cpp | 6 +- test/no_deleted_functions_fail.cpp | 6 +- test/no_deleted_functions_pass.cpp | 6 +- test/no_explicit_cvt_ops_fail.cpp | 6 +- test/no_explicit_cvt_ops_pass.cpp | 6 +- test/no_extern_template_fail.cpp | 6 +- test/no_extern_template_pass.cpp | 6 +- ...no_function_template_default_args_fail.cpp | 6 +- ...no_function_template_default_args_pass.cpp | 6 +- test/no_lambdas_fail.cpp | 6 +- test/no_lambdas_pass.cpp | 6 +- test/no_noexcept_fail.cpp | 6 +- test/no_noexcept_pass.cpp | 6 +- test/no_nullptr_fail.cpp | 6 +- test/no_nullptr_pass.cpp | 6 +- test/no_range_based_for_fail.cpp | 37 +++ test/no_range_based_for_pass.cpp | 37 +++ test/no_raw_literals_fail.cpp | 6 +- test/no_raw_literals_pass.cpp | 6 +- test/no_rvalue_references_fail.cpp | 6 +- test/no_rvalue_references_pass.cpp | 6 +- test/no_scoped_enums_fail.cpp | 6 +- test/no_scoped_enums_pass.cpp | 6 +- test/no_static_assert_fail.cpp | 6 +- test/no_static_assert_pass.cpp | 6 +- test/no_tem_local_classes_fail.cpp | 6 +- test/no_tem_local_classes_pass.cpp | 6 +- test/no_template_aliases_fail.cpp | 6 +- test/no_template_aliases_pass.cpp | 6 +- test/no_unicode_literals_fail.cpp | 6 +- test/no_unicode_literals_pass.cpp | 6 +- test/no_unified_init_fail.cpp | 6 +- test/no_unified_init_pass.cpp | 6 +- test/no_variadic_macros_fail.cpp | 6 +- test/no_variadic_macros_pass.cpp | 6 +- test/no_variadic_templates_fail.cpp | 6 +- test/no_variadic_templates_pass.cpp | 6 +- 115 files changed, 1200 insertions(+), 908 deletions(-) rename test/{boost_no_limits_lowest.ipp => boost_no_cxx11_numeric_limits.ipp} (87%) create mode 100644 test/boost_no_range_based_for.ipp rename test/{no_limits_lowest_fail.cpp => no_cxx11_numeric_limits_fail.cpp} (78%) rename test/{no_limits_lowest_pass.cpp => no_cxx11_numeric_limits_pass.cpp} (73%) create mode 100644 test/no_range_based_for_fail.cpp create mode 100644 test/no_range_based_for_pass.cpp diff --git a/doc/macro_reference.qbk b/doc/macro_reference.qbk index 58c264e0..bb27c64a 100644 --- a/doc/macro_reference.qbk +++ b/doc/macro_reference.qbk @@ -149,8 +149,13 @@ The C++ implementation does not provide the `` header. Never check for this symbol in library code; always include ``, which guarantees to provide `std::numeric_limits`. ]] -[[`BOOST_NO_NUMERIC_LIMITS_LOWEST`][Standard library][ -Static function `numeric_limits::lowest()` is not available for use. +[[`BOOST_NO_CXX11_NUMERIC_LIMITS`][Standard library][ +C++11 additions to `std::numeric_limits` are not available for use. +`static function numeric_limits::lowest()` the lowest finite value representable by the numeric type. +`static int const max_digits10` the number of decimal digits that are required to make sure that two distinct values of the type have distinct decimal representations. +`template<> class numeric_limits;`, see also `BOOST_NO_CXX11_CHAR16_T`, +`template<> class numeric_limits;` see also `BOOST_NO_CXX11_CHAR32_T`. +Replaces BOOST_NO_NUMERIC_LIMITS_LOWEST. ]] [[`BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS`][Standard library][ Constants such as `numeric_limits::is_signed` are not available for use @@ -561,85 +566,86 @@ that are not yet supported by a particular compiler or library. [[`BOOST_NO_CXX11_HDR_UNORDERED_SET`][The standard library does not provide header .]] [[`BOOST_NO_CXX11_SMART_PTR`][The standard library header has no shared_ptr and unique_ptr.]] -[[`BOOST_NO_AUTO_DECLARATIONS`][The compiler does not support +[[`BOOST_NO_CXX11_AUTO_DECLARATIONS`][The compiler does not support type deduction for variables declared with the `auto` keyword (`auto var = ...;`). ]] -[[`BOOST_NO_AUTO_MULTIDECLARATIONS`][The compiler does not support +[[`BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS`][The compiler does not support type deduction for multiple variables declared with the `auto` keyword (`auto var = ..., *ptr = ...;`). ]] -[[`BOOST_NO_CHAR16_T`][The compiler does not support +[[`BOOST_NO_CXX11_CHAR16_T`][The compiler does not support type `char16_t`. ]] -[[`BOOST_NO_CHAR32_T`][The compiler does not support +[[`BOOST_NO_CXX11_CHAR32_T`][The compiler does not support type `char32_t`. ]] -[[`BOOST_NO_TEMPLATE_ALIASES`][The compiler does not support template aliases. +[[`BOOST_NO_CXX11_TEMPLATE_ALIASES`][The compiler does not support template aliases. ]] -[[`BOOST_NO_CONSTEXPR`][The compiler does not support +[[`BOOST_NO_CXX11_CONSTEXPR`][The compiler does not support `constexpr`. ]] -[[`BOOST_NO_DECLTYPE`][The compiler does not support +[[`BOOST_NO_CXX11_DECLTYPE`][The compiler does not support `decltype`. ]] -[[`BOOST_NO_DECLTYPE_N3276`][The compiler does not support the extension to +[[`BOOST_NO_CXX11_DECLTYPE_N3276`][The compiler does not support the extension to `decltype` described in [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3276.pdf N3276], accepted in Madrid, March 2011. ]] -[[`BOOST_NO_DEFAULTED_FUNCTIONS`][The compiler does not support +[[`BOOST_NO_CXX11_DEFAULTED_FUNCTIONS`][The compiler does not support defaulted (`= default`) functions. ]] -[[`BOOST_NO_DELETED_FUNCTIONS`][The compiler does not support +[[`BOOST_NO_CXX11_DELETED_FUNCTIONS`][The compiler does not support deleted (`= delete`) functions. ]] -[[`BOOST_NO_EXPLICIT_CONVERSION_OPERATORS`][The compiler does not support +[[`BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS`][The compiler does not support explicit conversion operators (`explicit operator T()`). ]] -[[`BOOST_NO_EXTERN_TEMPLATE`][The compiler does not support +[[`BOOST_NO_CXX11_EXTERN_TEMPLATE`][The compiler does not support explicit instantiation forward declarations for templates (`extern template ...`). ]] -[[`BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS`][The compiler does not support +[[`BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS`][The compiler does not support default template arguments for function templates. ]] -[[`BOOST_NO_LAMBDAS`][The compiler does not support Lambdas. +[[`BOOST_NO_CXX11_LAMBDAS`][The compiler does not support Lambdas. ]] -[[`BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS`][The compiler does not allow to +[[`BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS`][The compiler does not allow to pass local classes as template parameters (this macro intentionally does not control passing of unnamed types as template parameters, see also [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm N2657]). ]] [[`BOOST_NO_LONG_LONG`][The compiler does not support `long long`. ]] -[[`BOOST_NO_NOEXCEPT`][The compiler does not support `noexcept`. +[[`BOOST_NO_CXX11_NOEXCEPT`][The compiler does not support `noexcept`. ]] -[[`BOOST_NO_NULLPTR`][The compiler does not support `nullptr`. +[[`BOOST_NO_CXX11_NULLPTR`][The compiler does not support `nullptr`. ]] -[[`BOOST_NO_RAW_LITERALS`][The compiler does not support +[[`BOOST_NO_CXX11_RANGE_BASED_FOR`][The compiler does not support +range-based for statements. +]] +[[`BOOST_NO_CXX11_RAW_LITERALS`][The compiler does not support raw string literals. ]] -[[`BOOST_NO_RVALUE_REFERENCES`][The compiler does not support +[[`BOOST_NO_CXX11_RVALUE_REFERENCES`][The compiler does not support r-value references. ]] -[[`BOOST_NO_SCOPED_ENUMS`][The compiler does not support +[[`BOOST_NO_CXX11_SCOPED_ENUMS`][The compiler does not support scoped enumerations (`enum class`). ]] -[[`BOOST_NO_STATIC_ASSERT`][The compiler does not support +[[`BOOST_NO_CXX11_STATIC_ASSERT`][The compiler does not support `static_assert`. ]] -[[`BOOST_NO_STD_UNORDERD`][The standard library does not support +[[`BOOST_NO_CXX11_STD_UNORDERD`][The standard library does not support and . ]] -[[`BOOST_NO_TEMPLATE_ALIASES`][The compiler does not support template aliases. -]] -[[`BOOST_NO_UNICODE_LITERALS`][The compiler does not support +[[`BOOST_NO_CXX11_UNICODE_LITERALS`][The compiler does not support Unicode (`u8`, `u`, `U`) literals. ]] -[[`BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX`][The compiler does not support +[[`BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX`][The compiler does not support the [@http://en.wikipedia.org/wiki/C%2B%2B0x#Uniform_initialization C++11 Unified Initialization Syntax]. ]] -[[`BOOST_NO_VARIADIC_TEMPLATES`][The compiler does not support +[[`BOOST_NO_CXX11_VARIADIC_TEMPLATES`][The compiler does not support variadic templates. ]] -[[`BOOST_NO_VARIADIC_MACROS`][The compiler does not support +[[`BOOST_NO_CXX11_VARIADIC_MACROS`][The compiler does not support variadic macros. ]] ] @@ -1017,6 +1023,34 @@ They will be removed in a future version of boost. [[`BOOST_NO_0X_HDR_UNORDERED_SET`][`BOOST_NO_CXX11_HDR_UNORDERED_SET`][Boost 1.50][]] [[`BOOST_NO_0X_HDR_UNORDERED_MAP`][`BOOST_NO_CXX11_HDR_UNORDERED_MAP`][Boost 1.50][]] [[`BOOST_NO_STD_UNORDERED`][`BOOST_NO_CXX11_HDR_UNORDERED_SET`][Boost 1.50][]] +[[][][][]] +[[`BOOST_NO_AUTO_DECLARATIONS`][`BOOST_NO_CXX11_AUTO_DECLARATIONS`][Boost 1.51][]] +[[`BOOST_NO_AUTO_MULTIDECLARATIONS`][`BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS`][Boost 1.51][]] +[[`BOOST_NO_CHAR16_T`][`BOOST_NO_CXX11_CHAR16_T`][Boost 1.51][]] +[[`BOOST_NO_CHAR32_T`][`BOOST_NO_CXX11_CHAR32_T`][Boost 1.51][]] +[[`BOOST_NO_TEMPLATE_ALIASES`][`BOOST_NO_CXX11_TEMPLATE_ALIASES`][Boost 1.51][]] +[[`BOOST_NO_CONSTEXPR`][`BOOST_NO_CXX11_CONSTEXPR`][Boost 1.51][]] +[[`BOOST_NO_DECLTYPE`][`BOOST_NO_CXX11_DECLTYPE`][Boost 1.51][]] +[[`BOOST_NO_DECLTYPE_N3276`][`BOOST_NO_CXX11_DECLTYPE_N3276`][Boost 1.51][]] +[[`BOOST_NO_DEFAULTED_FUNCTIONS`][`BOOST_NO_CXX11_DEFAULTED_FUNCTIONS`][Boost 1.51][]] +[[`BOOST_NO_DELETED_FUNCTIONS`][`BOOST_NO_CXX11_DELETED_FUNCTIONS`][Boost 1.51][]] +[[`BOOST_NO_EXPLICIT_CONVERSION_OPERATORS`][`BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS`][Boost 1.51][]] +[[`BOOST_NO_EXTERN_TEMPLATE`][`BOOST_NO_CXX11_EXTERN_TEMPLATE`][Boost 1.51][]] +[[`BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS`][`BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS`][Boost 1.51][]] +[[`BOOST_NO_LAMBDAS`][`BOOST_NO_CXX11_LAMBDAS`][Boost 1.51][]] +[[`BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS`][`BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS`][Boost 1.51][]] +[[`BOOST_NO_NOEXCEPT`][`BOOST_NO_CXX11_NOEXCEPT`][Boost 1.51][]] +[[`BOOST_NO_NULLPTR`][`BOOST_NO_CXX11_NULLPTR`][Boost 1.51][]] +[[`BOOST_NO_RAW_LITERALS`][`BOOST_NO_CXX11_RAW_LITERALS`][Boost 1.51][]] +[[`BOOST_NO_RVALUE_REFERENCES`][`BOOST_NO_CXX11_RVALUE_REFERENCES`][Boost 1.51][]] +[[`BOOST_NO_SCOPED_ENUMS`][`BOOST_NO_CXX11_SCOPED_ENUMS`][Boost 1.51][]] +[[`BOOST_NO_STATIC_ASSERT`][`BOOST_NO_CXX11_STATIC_ASSERT`][Boost 1.51][]] +[[`BOOST_NO_STD_UNORDERD`][`BOOST_NO_CXX11_STD_UNORDERD`][Boost 1.51][]] +[[`BOOST_NO_UNICODE_LITERALS`][`BOOST_NO_CXX11_UNICODE_LITERALS`][Boost 1.51][]] +[[`BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX`][`BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX`][Boost 1.51][]] +[[`BOOST_NO_VARIADIC_TEMPLATES`][`BOOST_NO_CXX11_VARIADIC_TEMPLATES`][Boost 1.51][]] +[[`BOOST_NO_VARIADIC_MACROS`][`BOOST_NO_CXX11_VARIADIC_MACROS`][Boost 1.51][]] +[[`BOOST_NO_NUMERIC_LIMITS_LOWEST`][`BOOST_NO_CXX11_NUMERIC_LIMITS`][Boost 1.51][]] ] [endsect] diff --git a/include/boost/config/compiler/borland.hpp b/include/boost/config/compiler/borland.hpp index 5917afd4..cffa8ea0 100644 --- a/include/boost/config/compiler/borland.hpp +++ b/include/boost/config/compiler/borland.hpp @@ -47,7 +47,7 @@ # define BOOST_NO_OPERATORS_IN_NAMESPACE # endif // Variadic macros do not exist for C++ Builder versions 5 and below -#define BOOST_NO_VARIADIC_MACROS +#define BOOST_NO_CXX11_VARIADIC_MACROS # endif // Version 5.51 and below: @@ -150,14 +150,14 @@ // C++0x Macros: // #if !defined( BOOST_CODEGEAR_0X_SUPPORT ) || (__BORLANDC__ < 0x610) -# define BOOST_NO_CHAR16_T -# define BOOST_NO_CHAR32_T -# define BOOST_NO_DECLTYPE -# define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -# define BOOST_NO_EXTERN_TEMPLATE -# define BOOST_NO_RVALUE_REFERENCES -# define BOOST_NO_SCOPED_ENUMS -# define BOOST_NO_STATIC_ASSERT +# define BOOST_NO_CXX11_CHAR16_T +# define BOOST_NO_CXX11_CHAR32_T +# define BOOST_NO_CXX11_DECLTYPE +# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +# define BOOST_NO_CXX11_EXTERN_TEMPLATE +# define BOOST_NO_CXX11_RVALUE_REFERENCES +# define BOOST_NO_CXX11_SCOPED_ENUMS +# define BOOST_NO_CXX11_STATIC_ASSERT #else # define BOOST_HAS_ALIGNOF # define BOOST_HAS_CHAR16_T @@ -169,26 +169,27 @@ # define BOOST_HAS_STATIC_ASSERT #endif -#define BOOST_NO_AUTO_DECLARATIONS -#define BOOST_NO_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CONSTEXPR -#define BOOST_NO_DECLTYPE_N3276 -#define BOOST_NO_DEFAULTED_FUNCTIONS -#define BOOST_NO_DELETED_FUNCTIONS -#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +#define BOOST_NO_CXX11_AUTO_DECLARATIONS +#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +#define BOOST_NO_CXX11_CONSTEXPR +#define BOOST_NO_CXX11_DECLTYPE_N3276 +#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#define BOOST_NO_CXX11_DELETED_FUNCTIONS +#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_LAMBDAS -#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_NULLPTR -#define BOOST_NO_RAW_LITERALS -#define BOOST_NO_RVALUE_REFERENCES -#define BOOST_NO_SCOPED_ENUMS +#define BOOST_NO_CXX11_LAMBDAS +#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +#define BOOST_NO_CXX11_NULLPTR +#define BOOST_NO_CXX11_RANGE_BASED_FOR +#define BOOST_NO_CXX11_RAW_LITERALS +#define BOOST_NO_CXX11_RVALUE_REFERENCES +#define BOOST_NO_CXX11_SCOPED_ENUMS #define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_TEMPLATE_ALIASES -#define BOOST_NO_UNICODE_LITERALS // UTF-8 still not supported -#define BOOST_NO_VARIADIC_TEMPLATES -#define BOOST_NO_NOEXCEPT -#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#define BOOST_NO_CXX11_TEMPLATE_ALIASES +#define BOOST_NO_CXX11_UNICODE_LITERALS // UTF-8 still not supported +#define BOOST_NO_CXX11_VARIADIC_TEMPLATES +#define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #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 1067a800..aab3c610 100644 --- a/include/boost/config/compiler/clang.hpp +++ b/include/boost/config/compiler/clang.hpp @@ -30,41 +30,41 @@ #define BOOST_HAS_LONG_LONG #if !__has_feature(cxx_auto_type) -# define BOOST_NO_AUTO_DECLARATIONS -# define BOOST_NO_AUTO_MULTIDECLARATIONS +# define BOOST_NO_CXX11_AUTO_DECLARATIONS +# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS #endif #if !(defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L) -# define BOOST_NO_CHAR16_T -# define BOOST_NO_CHAR32_T +# define BOOST_NO_CXX11_CHAR16_T +# define BOOST_NO_CXX11_CHAR32_T #endif #if !__has_feature(cxx_constexpr) -# define BOOST_NO_CONSTEXPR +# define BOOST_NO_CXX11_CONSTEXPR #endif #if !__has_feature(cxx_decltype) -# define BOOST_NO_DECLTYPE +# define BOOST_NO_CXX11_DECLTYPE #endif #if !__has_feature(cxx_decltype_incomplete_return_types) -# define BOOST_NO_DECLTYPE_N3276 +# define BOOST_NO_CXX11_DECLTYPE_N3276 #endif #if !__has_feature(cxx_defaulted_functions) -# define BOOST_NO_DEFAULTED_FUNCTIONS +# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS #endif #if !__has_feature(cxx_deleted_functions) -# define BOOST_NO_DELETED_FUNCTIONS +# define BOOST_NO_CXX11_DELETED_FUNCTIONS #endif #if !__has_feature(cxx_explicit_conversions) -# define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS +# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS #endif #if !__has_feature(cxx_default_function_template_args) -# define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +# define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS #endif #if !__has_feature(cxx_generalized_initializers) @@ -72,51 +72,55 @@ #endif #if !__has_feature(cxx_lambdas) -# define BOOST_NO_LAMBDAS +# define BOOST_NO_CXX11_LAMBDAS #endif #if !__has_feature(cxx_local_type_template_args) -# define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +# define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS #endif #if !__has_feature(cxx_noexcept) -# define BOOST_NO_NOEXCEPT +# define BOOST_NO_CXX11_NOEXCEPT #endif #if !__has_feature(cxx_nullptr) -# define BOOST_NO_NULLPTR +# define BOOST_NO_CXX11_NULLPTR +#endif + +#if !__has_feature(cxx_range_for) +# define BOOST_NO_CXX11_RANGE_BASED_FOR #endif #if !__has_feature(cxx_raw_string_literals) -# define BOOST_NO_RAW_LITERALS +# define BOOST_NO_CXX11_RAW_LITERALS #endif #if !__has_feature(cxx_generalized_initializers) -# define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #endif #if !__has_feature(cxx_rvalue_references) -# define BOOST_NO_RVALUE_REFERENCES +# define BOOST_NO_CXX11_RVALUE_REFERENCES #endif #if !__has_feature(cxx_strong_enums) -# define BOOST_NO_SCOPED_ENUMS +# define BOOST_NO_CXX11_SCOPED_ENUMS #endif #if !__has_feature(cxx_static_assert) -# define BOOST_NO_STATIC_ASSERT +# define BOOST_NO_CXX11_STATIC_ASSERT #endif #if !__has_feature(cxx_alias_templates) -# define BOOST_NO_TEMPLATE_ALIASES +# define BOOST_NO_CXX11_TEMPLATE_ALIASES #endif #if !__has_feature(cxx_unicode_literals) -# define BOOST_NO_UNICODE_LITERALS +# define BOOST_NO_CXX11_UNICODE_LITERALS #endif #if !__has_feature(cxx_variadic_templates) -# define BOOST_NO_VARIADIC_TEMPLATES +# define BOOST_NO_CXX11_VARIADIC_TEMPLATES #endif // Clang always supports variadic macros diff --git a/include/boost/config/compiler/codegear.hpp b/include/boost/config/compiler/codegear.hpp index 27040049..1a6df335 100644 --- a/include/boost/config/compiler/codegear.hpp +++ b/include/boost/config/compiler/codegear.hpp @@ -76,7 +76,7 @@ // C++0x macros: // #if (__CODEGEARC__ <= 0x620) -#define BOOST_NO_STATIC_ASSERT +#define BOOST_NO_CXX11_STATIC_ASSERT #else #define BOOST_HAS_STATIC_ASSERT #endif @@ -91,24 +91,25 @@ // #define BOOST_HAS_STATIC_ASSERT #define BOOST_HAS_STD_TYPE_TRAITS -#define BOOST_NO_AUTO_DECLARATIONS -#define BOOST_NO_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CONSTEXPR -#define BOOST_NO_DEFAULTED_FUNCTIONS -#define BOOST_NO_DELETED_FUNCTIONS -#define BOOST_NO_EXTERN_TEMPLATE -#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_LAMBDAS -#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_NOEXCEPT -#define BOOST_NO_NULLPTR -#define BOOST_NO_RAW_LITERALS -#define BOOST_NO_RVALUE_REFERENCES +#define BOOST_NO_CXX11_AUTO_DECLARATIONS +#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +#define BOOST_NO_CXX11_CONSTEXPR +#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#define BOOST_NO_CXX11_DELETED_FUNCTIONS +#define BOOST_NO_CXX11_EXTERN_TEMPLATE +#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS +#define BOOST_NO_CXX11_LAMBDAS +#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +#define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_NULLPTR +#define BOOST_NO_CXX11_RANGE_BASED_FOR +#define BOOST_NO_CXX11_RAW_LITERALS +#define BOOST_NO_CXX11_RVALUE_REFERENCES #define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_TEMPLATE_ALIASES -#define BOOST_NO_UNICODE_LITERALS -#define BOOST_NO_VARIADIC_TEMPLATES -#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#define BOOST_NO_CXX11_TEMPLATE_ALIASES +#define BOOST_NO_CXX11_UNICODE_LITERALS +#define BOOST_NO_CXX11_VARIADIC_TEMPLATES +#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX // // TR1 macros: diff --git a/include/boost/config/compiler/common_edg.hpp b/include/boost/config/compiler/common_edg.hpp index a615a35b..441a055f 100644 --- a/include/boost/config/compiler/common_edg.hpp +++ b/include/boost/config/compiler/common_edg.hpp @@ -60,40 +60,41 @@ // See above for BOOST_NO_LONG_LONG // #if (__EDG_VERSION__ < 310) -# define BOOST_NO_EXTERN_TEMPLATE +# define BOOST_NO_CXX11_EXTERN_TEMPLATE #endif #if (__EDG_VERSION__ <= 310) // No support for initializer lists # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #endif #if (__EDG_VERSION__ < 400) -# define BOOST_NO_VARIADIC_MACROS +# define BOOST_NO_CXX11_VARIADIC_MACROS #endif -#define BOOST_NO_AUTO_DECLARATIONS -#define BOOST_NO_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CHAR16_T -#define BOOST_NO_CHAR32_T -#define BOOST_NO_CONSTEXPR -#define BOOST_NO_DECLTYPE -#define BOOST_NO_DECLTYPE_N3276 -#define BOOST_NO_DEFAULTED_FUNCTIONS -#define BOOST_NO_DELETED_FUNCTIONS -#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_LAMBDAS -#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_NOEXCEPT -#define BOOST_NO_NULLPTR -#define BOOST_NO_RAW_LITERALS -#define BOOST_NO_RVALUE_REFERENCES -#define BOOST_NO_SCOPED_ENUMS +#define BOOST_NO_CXX11_AUTO_DECLARATIONS +#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +#define BOOST_NO_CXX11_CHAR16_T +#define BOOST_NO_CXX11_CHAR32_T +#define BOOST_NO_CXX11_CONSTEXPR +#define BOOST_NO_CXX11_DECLTYPE +#define BOOST_NO_CXX11_DECLTYPE_N3276 +#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#define BOOST_NO_CXX11_DELETED_FUNCTIONS +#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS +#define BOOST_NO_CXX11_LAMBDAS +#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +#define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_NULLPTR +#define BOOST_NO_CXX11_RANGE_BASED_FOR +#define BOOST_NO_CXX11_RAW_LITERALS +#define BOOST_NO_CXX11_RVALUE_REFERENCES +#define BOOST_NO_CXX11_SCOPED_ENUMS #define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_STATIC_ASSERT -#define BOOST_NO_TEMPLATE_ALIASES -#define BOOST_NO_UNICODE_LITERALS -#define BOOST_NO_VARIADIC_TEMPLATES -#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#define BOOST_NO_CXX11_STATIC_ASSERT +#define BOOST_NO_CXX11_TEMPLATE_ALIASES +#define BOOST_NO_CXX11_UNICODE_LITERALS +#define BOOST_NO_CXX11_VARIADIC_TEMPLATES +#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #ifdef c_plusplus // EDG has "long long" in non-strict mode diff --git a/include/boost/config/compiler/cray.hpp b/include/boost/config/compiler/cray.hpp index 134275e5..5463ea08 100644 --- a/include/boost/config/compiler/cray.hpp +++ b/include/boost/config/compiler/cray.hpp @@ -25,34 +25,35 @@ // // Cray peculiarities, probably version 7 specific: // -#undef BOOST_NO_AUTO_DECLARATIONS -#undef BOOST_NO_AUTO_MULTIDECLARATIONS +#undef BOOST_NO_CXX11_AUTO_DECLARATIONS +#undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS #define BOOST_HAS_NRVO -#define BOOST_NO_VARIADIC_TEMPLATES -#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX -#define BOOST_NO_UNICODE_LITERALS +#define BOOST_NO_CXX11_VARIADIC_TEMPLATES +#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX +#define BOOST_NO_CXX11_UNICODE_LITERALS #define BOOST_NO_TWO_PHASE_NAME_LOOKUP #define BOOST_HAS_NRVO -#define BOOST_NO_TEMPLATE_ALIASES -#define BOOST_NO_STATIC_ASSERT +#define BOOST_NO_CXX11_TEMPLATE_ALIASES +#define BOOST_NO_CXX11_STATIC_ASSERT #define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_SCOPED_ENUMS -#define BOOST_NO_RVALUE_REFERENCES -#define BOOST_NO_RAW_LITERALS -#define BOOST_NO_NULLPTR -#define BOOST_NO_NOEXCEPT -#define BOOST_NO_LAMBDAS -#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_DELETED_FUNCTIONS -#define BOOST_NO_DEFAULTED_FUNCTIONS -#define BOOST_NO_DECLTYPE_N3276 -#define BOOST_NO_DECLTYPE -#define BOOST_NO_CONSTEXPR +#define BOOST_NO_CXX11_SCOPED_ENUMS +#define BOOST_NO_CXX11_RVALUE_REFERENCES +#define BOOST_NO_CXX11_RANGE_BASED_FOR +#define BOOST_NO_CXX11_RAW_LITERALS +#define BOOST_NO_CXX11_NULLPTR +#define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_LAMBDAS +#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS +#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +#define BOOST_NO_CXX11_DELETED_FUNCTIONS +#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#define BOOST_NO_CXX11_DECLTYPE_N3276 +#define BOOST_NO_CXX11_DECLTYPE +#define BOOST_NO_CXX11_CONSTEXPR #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION -#define BOOST_NO_CHAR32_T -#define BOOST_NO_CHAR16_T +#define BOOST_NO_CXX11_CHAR32_T +#define BOOST_NO_CXX11_CHAR16_T //#define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG #define BOOST_MATH_DISABLE_STD_FPCLASSIFY //#define BOOST_HAS_FPCLASSIFY diff --git a/include/boost/config/compiler/digitalmars.hpp b/include/boost/config/compiler/digitalmars.hpp index 7386be7d..15cc209d 100644 --- a/include/boost/config/compiler/digitalmars.hpp +++ b/include/boost/config/compiler/digitalmars.hpp @@ -60,34 +60,35 @@ // // C++0x features // -#define BOOST_NO_AUTO_DECLARATIONS -#define BOOST_NO_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CHAR16_T -#define BOOST_NO_CHAR32_T -#define BOOST_NO_CONSTEXPR -#define BOOST_NO_DECLTYPE -#define BOOST_NO_DECLTYPE_N3276 -#define BOOST_NO_DEFAULTED_FUNCTIONS -#define BOOST_NO_DELETED_FUNCTIONS -#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_EXTERN_TEMPLATE +#define BOOST_NO_CXX11_AUTO_DECLARATIONS +#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +#define BOOST_NO_CXX11_CHAR16_T +#define BOOST_NO_CXX11_CHAR32_T +#define BOOST_NO_CXX11_CONSTEXPR +#define BOOST_NO_CXX11_DECLTYPE +#define BOOST_NO_CXX11_DECLTYPE_N3276 +#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#define BOOST_NO_CXX11_DELETED_FUNCTIONS +#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +#define BOOST_NO_CXX11_EXTERN_TEMPLATE #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_LAMBDAS -#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_NOEXCEPT -#define BOOST_NO_NULLPTR -#define BOOST_NO_RAW_LITERALS -#define BOOST_NO_RVALUE_REFERENCES -#define BOOST_NO_SCOPED_ENUMS +#define BOOST_NO_CXX11_LAMBDAS +#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +#define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_NULLPTR +#define BOOST_NO_CXX11_RANGE_BASED_FOR +#define BOOST_NO_CXX11_RAW_LITERALS +#define BOOST_NO_CXX11_RVALUE_REFERENCES +#define BOOST_NO_CXX11_SCOPED_ENUMS #define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_STATIC_ASSERT -#define BOOST_NO_TEMPLATE_ALIASES -#define BOOST_NO_UNICODE_LITERALS -#define BOOST_NO_VARIADIC_TEMPLATES -#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#define BOOST_NO_CXX11_STATIC_ASSERT +#define BOOST_NO_CXX11_TEMPLATE_ALIASES +#define BOOST_NO_CXX11_UNICODE_LITERALS +#define BOOST_NO_CXX11_VARIADIC_TEMPLATES +#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #if (__DMC__ < 0x812) -#define BOOST_NO_VARIADIC_MACROS +#define BOOST_NO_CXX11_VARIADIC_MACROS #endif #if __DMC__ < 0x800 diff --git a/include/boost/config/compiler/gcc.hpp b/include/boost/config/compiler/gcc.hpp index 5d9c75a2..f42fd790 100644 --- a/include/boost/config/compiler/gcc.hpp +++ b/include/boost/config/compiler/gcc.hpp @@ -42,9 +42,9 @@ # define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE # define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL # define BOOST_NO_IS_ABSTRACT -# define BOOST_NO_EXTERN_TEMPLATE +# define BOOST_NO_CXX11_EXTERN_TEMPLATE // Variadic macros do not exist for gcc versions before 3.0 -# define BOOST_NO_VARIADIC_MACROS +# define BOOST_NO_CXX11_VARIADIC_MACROS #elif __GNUC__ == 3 # if defined (__PATHSCALE__) # define BOOST_NO_TWO_PHASE_NAME_LOOKUP @@ -61,7 +61,7 @@ # if __GNUC_MINOR__ < 4 # define BOOST_NO_IS_ABSTRACT # endif -# define BOOST_NO_EXTERN_TEMPLATE +# define BOOST_NO_CXX11_EXTERN_TEMPLATE #endif #if __GNUC__ < 4 // @@ -158,30 +158,30 @@ # define BOOST_HAS_STATIC_ASSERT # define BOOST_HAS_VARIADIC_TMPL #else -# define BOOST_NO_DECLTYPE -# define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -# define BOOST_NO_RVALUE_REFERENCES -# define BOOST_NO_STATIC_ASSERT +# define BOOST_NO_CXX11_DECLTYPE +# define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS +# define BOOST_NO_CXX11_RVALUE_REFERENCES +# define BOOST_NO_CXX11_STATIC_ASSERT // Variadic templates compiler: // http://www.generic-programming.org/~dgregor/cpp/variadic-templates.html # if defined(__VARIADIC_TEMPLATES) || (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4) && defined(__GXX_EXPERIMENTAL_CXX0X__)) # define BOOST_HAS_VARIADIC_TMPL # else -# define BOOST_NO_VARIADIC_TEMPLATES +# define BOOST_NO_CXX11_VARIADIC_TEMPLATES # endif #endif // C++0x features in 4.4.n and later // #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_AUTO_DECLARATIONS -# define BOOST_NO_AUTO_MULTIDECLARATIONS -# define BOOST_NO_CHAR16_T -# define BOOST_NO_CHAR32_T +# define BOOST_NO_CXX11_AUTO_DECLARATIONS +# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +# define BOOST_NO_CXX11_CHAR16_T +# define BOOST_NO_CXX11_CHAR32_T # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_DEFAULTED_FUNCTIONS -# define BOOST_NO_DELETED_FUNCTIONS +# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +# define BOOST_NO_CXX11_DELETED_FUNCTIONS #endif #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4) @@ -191,36 +191,37 @@ // C++0x features in 4.5.0 and later // #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -# define BOOST_NO_LAMBDAS -# define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -# define BOOST_NO_RAW_LITERALS -# define BOOST_NO_UNICODE_LITERALS +# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +# define BOOST_NO_CXX11_LAMBDAS +# define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +# define BOOST_NO_CXX11_RAW_LITERALS +# define BOOST_NO_CXX11_UNICODE_LITERALS #endif // C++0x features in 4.5.1 and later // #if (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__ < 40501) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -// scoped enums have a serious bug in 4.4.0, so define BOOST_NO_SCOPED_ENUMS before 4.5.1 +// scoped enums have a serious bug in 4.4.0, so define BOOST_NO_CXX11_SCOPED_ENUMS before 4.5.1 // See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38064 -# define BOOST_NO_SCOPED_ENUMS +# define BOOST_NO_CXX11_SCOPED_ENUMS #endif // C++0x features in 4.6.n and later // #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -#define BOOST_NO_CONSTEXPR -#define BOOST_NO_NOEXCEPT -#define BOOST_NO_NULLPTR -#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#define BOOST_NO_CXX11_CONSTEXPR +#define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_NULLPTR +#define BOOST_NO_CXX11_RANGE_BASED_FOR +#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #endif #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_TEMPLATE_ALIASES +# define BOOST_NO_CXX11_TEMPLATE_ALIASES #endif // C++0x features not supported at all yet // -#define BOOST_NO_DECLTYPE_N3276 +#define BOOST_NO_CXX11_DECLTYPE_N3276 #ifndef BOOST_COMPILER # define BOOST_COMPILER "GNU C++ version " __VERSION__ diff --git a/include/boost/config/compiler/gcc_xml.hpp b/include/boost/config/compiler/gcc_xml.hpp index 69905ae7..eaed4b5a 100644 --- a/include/boost/config/compiler/gcc_xml.hpp +++ b/include/boost/config/compiler/gcc_xml.hpp @@ -27,33 +27,33 @@ // C++0x features: // -# define BOOST_NO_CONSTEXPR -# define BOOST_NO_NULLPTR -# define BOOST_NO_TEMPLATE_ALIASES -# define BOOST_NO_DECLTYPE -# define BOOST_NO_DECLTYPE_N3276 -# define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -# define BOOST_NO_RVALUE_REFERENCES -# define BOOST_NO_STATIC_ASSERT -# define BOOST_NO_VARIADIC_TEMPLATES -# define BOOST_NO_VARIADIC_MACROS -# define BOOST_NO_AUTO_DECLARATIONS -# define BOOST_NO_AUTO_MULTIDECLARATIONS -# define BOOST_NO_CHAR16_T -# define BOOST_NO_CHAR32_T -# define BOOST_NO_DEFAULTED_FUNCTIONS -# define BOOST_NO_DELETED_FUNCTIONS +# define BOOST_NO_CXX11_CONSTEXPR +# define BOOST_NO_CXX11_NULLPTR +# define BOOST_NO_CXX11_TEMPLATE_ALIASES +# define BOOST_NO_CXX11_DECLTYPE +# define BOOST_NO_CXX11_DECLTYPE_N3276 +# define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS +# define BOOST_NO_CXX11_RVALUE_REFERENCES +# define BOOST_NO_CXX11_STATIC_ASSERT +# define BOOST_NO_CXX11_VARIADIC_TEMPLATES +# define BOOST_NO_CXX11_VARIADIC_MACROS +# define BOOST_NO_CXX11_AUTO_DECLARATIONS +# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +# define BOOST_NO_CXX11_CHAR16_T +# define BOOST_NO_CXX11_CHAR32_T +# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +# define BOOST_NO_CXX11_DELETED_FUNCTIONS # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_SCOPED_ENUMS +# define BOOST_NO_CXX11_SCOPED_ENUMS # define BOOST_NO_SFINAE_EXPR -# define BOOST_NO_SCOPED_ENUMS -# define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -# define BOOST_NO_LAMBDAS -# define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -# define BOOST_NO_RAW_LITERALS -# define BOOST_NO_UNICODE_LITERALS -# define BOOST_NO_NOEXCEPT -#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +# define BOOST_NO_CXX11_LAMBDAS +# define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +# define BOOST_NO_CXX11_RANGE_BASED_FOR +# define BOOST_NO_CXX11_RAW_LITERALS +# define BOOST_NO_CXX11_UNICODE_LITERALS +# define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #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 d8cfb8cc..4f5f81b3 100644 --- a/include/boost/config/compiler/hp_acc.hpp +++ b/include/boost/config/compiler/hp_acc.hpp @@ -92,31 +92,32 @@ // #if !defined(__EDG__) -#define BOOST_NO_AUTO_DECLARATIONS -#define BOOST_NO_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CHAR16_T -#define BOOST_NO_CHAR32_T -#define BOOST_NO_CONSTEXPR -#define BOOST_NO_DECLTYPE -#define BOOST_NO_DECLTYPE_N3276 -#define BOOST_NO_DEFAULTED_FUNCTIONS -#define BOOST_NO_DELETED_FUNCTIONS -#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_EXTERN_TEMPLATE -#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +#define BOOST_NO_CXX11_AUTO_DECLARATIONS +#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +#define BOOST_NO_CXX11_CHAR16_T +#define BOOST_NO_CXX11_CHAR32_T +#define BOOST_NO_CXX11_CONSTEXPR +#define BOOST_NO_CXX11_DECLTYPE +#define BOOST_NO_CXX11_DECLTYPE_N3276 +#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#define BOOST_NO_CXX11_DELETED_FUNCTIONS +#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +#define BOOST_NO_CXX11_EXTERN_TEMPLATE +#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_LAMBDAS -#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_NOEXCEPT -#define BOOST_NO_NULLPTR -#define BOOST_NO_RAW_LITERALS -#define BOOST_NO_RVALUE_REFERENCES -#define BOOST_NO_SCOPED_ENUMS +#define BOOST_NO_CXX11_LAMBDAS +#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +#define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_NULLPTR +#define BOOST_NO_CXX11_RANGE_BASED_FOR +#define BOOST_NO_CXX11_RAW_LITERALS +#define BOOST_NO_CXX11_RVALUE_REFERENCES +#define BOOST_NO_CXX11_SCOPED_ENUMS #define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_STATIC_ASSERT -#define BOOST_NO_TEMPLATE_ALIASES -#define BOOST_NO_UNICODE_LITERALS -#define BOOST_NO_VARIADIC_TEMPLATES +#define BOOST_NO_CXX11_STATIC_ASSERT +#define BOOST_NO_CXX11_TEMPLATE_ALIASES +#define BOOST_NO_CXX11_UNICODE_LITERALS +#define BOOST_NO_CXX11_VARIADIC_TEMPLATES /* See https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1443331 and @@ -124,7 +125,7 @@ */ #if (__HP_aCC < 62500) || !defined(HP_CXX0x_SOURCE) - #define BOOST_NO_VARIADIC_MACROS + #define BOOST_NO_CXX11_VARIADIC_MACROS #endif #endif diff --git a/include/boost/config/compiler/intel.hpp b/include/boost/config/compiler/intel.hpp index 11909403..8c746c18 100644 --- a/include/boost/config/compiler/intel.hpp +++ b/include/boost/config/compiler/intel.hpp @@ -199,43 +199,43 @@ template<> struct assert_intrinsic_wchar_t {}; // - ICC added static_assert in 11.0 (first version with C++0x support) // #if defined(BOOST_INTEL_STDCXX0X) -# undef BOOST_NO_STATIC_ASSERT +# undef BOOST_NO_CXX11_STATIC_ASSERT // // These pass our test cases, but aren't officially supported according to: // http://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler/ // -//# undef BOOST_NO_LAMBDAS -//# undef BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -//# undef BOOST_NO_DECLTYPE -//# undef BOOST_NO_AUTO_DECLARATIONS -//# undef BOOST_NO_AUTO_MULTIDECLARATIONS +//# undef BOOST_NO_CXX11_LAMBDAS +//# undef BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +//# undef BOOST_NO_CXX11_DECLTYPE +//# undef BOOST_NO_CXX11_AUTO_DECLARATIONS +//# undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS #endif #if defined(BOOST_INTEL_STDCXX0X) && (BOOST_INTEL_CXX_VERSION >= 1200) -//# undef BOOST_NO_RVALUE_REFERENCES // Enabling this breaks Filesystem and Exception libraries -//# undef BOOST_NO_SCOPED_ENUMS // doesn't really work!! -# undef BOOST_NO_DELETED_FUNCTIONS -# undef BOOST_NO_DEFAULTED_FUNCTIONS -# undef BOOST_NO_LAMBDAS -# undef BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -# undef BOOST_NO_DECLTYPE -# undef BOOST_NO_AUTO_DECLARATIONS -# undef BOOST_NO_AUTO_MULTIDECLARATIONS +//# undef BOOST_NO_CXX11_RVALUE_REFERENCES // Enabling this breaks Filesystem and Exception libraries +//# undef BOOST_NO_CXX11_SCOPED_ENUMS // doesn't really work!! +# undef BOOST_NO_CXX11_DELETED_FUNCTIONS +# undef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +# undef BOOST_NO_CXX11_LAMBDAS +# undef BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +# undef BOOST_NO_CXX11_DECLTYPE +# undef BOOST_NO_CXX11_AUTO_DECLARATIONS +# undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS #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. #if defined(BOOST_INTEL_STDCXX0X) && (BOOST_INTEL_CXX_VERSION > 1200) -# undef BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -# undef BOOST_NO_NULLPTR -# undef BOOST_NO_RVALUE_REFERENCES +# undef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS +# undef BOOST_NO_CXX11_NULLPTR +# undef BOOST_NO_CXX11_RVALUE_REFERENCES # undef BOOST_NO_SFINAE_EXPR -# undef BOOST_NO_TEMPLATE_ALIASES -# undef BOOST_NO_VARIADIC_TEMPLATES +# undef BOOST_NO_CXX11_TEMPLATE_ALIASES +# 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_SCOPED_ENUMS +//# undef BOOST_NO_CXX11_SCOPED_ENUMS #endif #if defined(_MSC_VER) && (_MSC_VER <= 1700) @@ -243,10 +243,10 @@ template<> struct assert_intrinsic_wchar_t {}; // Although the Intel compiler is capable of supporting these, it appears not to in MSVC compatibility mode: // # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -# define BOOST_NO_VARIADIC_TEMPLATES -# define BOOST_NO_DELETED_FUNCTIONS -# define BOOST_NO_DEFAULTED_FUNCTIONS -# define BOOST_NO_TEMPLATE_ALIASES +# define BOOST_NO_CXX11_VARIADIC_TEMPLATES +# define BOOST_NO_CXX11_DELETED_FUNCTIONS +# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +# define BOOST_NO_CXX11_TEMPLATE_ALIASES #endif #if (BOOST_INTEL_CXX_VERSION < 1200) diff --git a/include/boost/config/compiler/metrowerks.hpp b/include/boost/config/compiler/metrowerks.hpp index 4a1edd47..184cb71c 100644 --- a/include/boost/config/compiler/metrowerks.hpp +++ b/include/boost/config/compiler/metrowerks.hpp @@ -90,34 +90,35 @@ #if __MWERKS__ > 0x3206 && __option(rvalue_refs) # define BOOST_HAS_RVALUE_REFS #else -# define BOOST_NO_RVALUE_REFERENCES +# define BOOST_NO_CXX11_RVALUE_REFERENCES #endif -#define BOOST_NO_AUTO_DECLARATIONS -#define BOOST_NO_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CHAR16_T -#define BOOST_NO_CHAR32_T -#define BOOST_NO_CONSTEXPR -#define BOOST_NO_DECLTYPE -#define BOOST_NO_DECLTYPE_N3276 -#define BOOST_NO_DEFAULTED_FUNCTIONS -#define BOOST_NO_DELETED_FUNCTIONS -#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_EXTERN_TEMPLATE -#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +#define BOOST_NO_CXX11_AUTO_DECLARATIONS +#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +#define BOOST_NO_CXX11_CHAR16_T +#define BOOST_NO_CXX11_CHAR32_T +#define BOOST_NO_CXX11_CONSTEXPR +#define BOOST_NO_CXX11_DECLTYPE +#define BOOST_NO_CXX11_DECLTYPE_N3276 +#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#define BOOST_NO_CXX11_DELETED_FUNCTIONS +#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +#define BOOST_NO_CXX11_EXTERN_TEMPLATE +#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_LAMBDAS -#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_NOEXCEPT -#define BOOST_NO_NULLPTR -#define BOOST_NO_RAW_LITERALS -#define BOOST_NO_SCOPED_ENUMS +#define BOOST_NO_CXX11_LAMBDAS +#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +#define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_NULLPTR +#define BOOST_NO_CXX11_RANGE_BASED_FOR +#define BOOST_NO_CXX11_RAW_LITERALS +#define BOOST_NO_CXX11_SCOPED_ENUMS #define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_STATIC_ASSERT -#define BOOST_NO_TEMPLATE_ALIASES -#define BOOST_NO_UNICODE_LITERALS -#define BOOST_NO_VARIADIC_TEMPLATES -#define BOOST_NO_VARIADIC_MACROS -#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#define BOOST_NO_CXX11_STATIC_ASSERT +#define BOOST_NO_CXX11_TEMPLATE_ALIASES +#define BOOST_NO_CXX11_UNICODE_LITERALS +#define BOOST_NO_CXX11_VARIADIC_TEMPLATES +#define BOOST_NO_CXX11_VARIADIC_MACROS +#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #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 f328b3bb..14adee0c 100644 --- a/include/boost/config/compiler/mpw.hpp +++ b/include/boost/config/compiler/mpw.hpp @@ -40,33 +40,34 @@ // // See boost\config\suffix.hpp for BOOST_NO_LONG_LONG // -#define BOOST_NO_AUTO_DECLARATIONS -#define BOOST_NO_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CHAR16_T -#define BOOST_NO_CHAR32_T -#define BOOST_NO_CONSTEXPR -#define BOOST_NO_DECLTYPE -#define BOOST_NO_DECLTYPE_N3276 -#define BOOST_NO_DEFAULTED_FUNCTIONS -#define BOOST_NO_DELETED_FUNCTIONS -#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_EXTERN_TEMPLATE -#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +#define BOOST_NO_CXX11_AUTO_DECLARATIONS +#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +#define BOOST_NO_CXX11_CHAR16_T +#define BOOST_NO_CXX11_CHAR32_T +#define BOOST_NO_CXX11_CONSTEXPR +#define BOOST_NO_CXX11_DECLTYPE +#define BOOST_NO_CXX11_DECLTYPE_N3276 +#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#define BOOST_NO_CXX11_DELETED_FUNCTIONS +#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +#define BOOST_NO_CXX11_EXTERN_TEMPLATE +#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_LAMBDAS -#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_NOEXCEPT -#define BOOST_NO_NULLPTR -#define BOOST_NO_RAW_LITERALS -#define BOOST_NO_RVALUE_REFERENCES -#define BOOST_NO_SCOPED_ENUMS +#define BOOST_NO_CXX11_LAMBDAS +#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +#define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_NULLPTR +#define BOOST_NO_CXX11_RANGE_BASED_FOR +#define BOOST_NO_CXX11_RAW_LITERALS +#define BOOST_NO_CXX11_RVALUE_REFERENCES +#define BOOST_NO_CXX11_SCOPED_ENUMS #define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_STATIC_ASSERT -#define BOOST_NO_TEMPLATE_ALIASES -#define BOOST_NO_UNICODE_LITERALS -#define BOOST_NO_VARIADIC_TEMPLATES -#define BOOST_NO_VARIADIC_MACROS -#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#define BOOST_NO_CXX11_STATIC_ASSERT +#define BOOST_NO_CXX11_TEMPLATE_ALIASES +#define BOOST_NO_CXX11_UNICODE_LITERALS +#define BOOST_NO_CXX11_VARIADIC_TEMPLATES +#define BOOST_NO_CXX11_VARIADIC_MACROS +#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX // // versions check: diff --git a/include/boost/config/compiler/pathscale.hpp b/include/boost/config/compiler/pathscale.hpp index f5fe6e83..30411263 100644 --- a/include/boost/config/compiler/pathscale.hpp +++ b/include/boost/config/compiler/pathscale.hpp @@ -32,34 +32,34 @@ # define BOOST_HAS_EXPM1 # define BOOST_HAS_DIRENT_H # define BOOST_HAS_CLOCK_GETTIME -# define BOOST_NO_VARIADIC_TEMPLATES -# define BOOST_NO_UNICODE_LITERALS -# define BOOST_NO_TEMPLATE_ALIASES -# define BOOST_NO_STD_UNORDERED -# define BOOST_NO_STATIC_ASSERT +# define BOOST_NO_CXX11_VARIADIC_TEMPLATES +# define BOOST_NO_CXX11_UNICODE_LITERALS +# define BOOST_NO_CXX11_TEMPLATE_ALIASES +# define BOOST_NO_CXX11_STATIC_ASSERT # define BOOST_NO_SFINAE_EXPR -# define BOOST_NO_SCOPED_ENUMS -# define BOOST_NO_RVALUE_REFERENCES -# define BOOST_NO_RAW_LITERALS -# define BOOST_NO_NULLPTR -# define BOOST_NO_NUMERIC_LIMITS_LOWEST -# define BOOST_NO_NOEXCEPT -# define BOOST_NO_LAMBDAS -# define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +# define BOOST_NO_CXX11_SCOPED_ENUMS +# define BOOST_NO_CXX11_RVALUE_REFERENCES +# define BOOST_NO_CXX11_RANGE_BASED_FOR +# define BOOST_NO_CXX11_RAW_LITERALS +# define BOOST_NO_CXX11_NULLPTR +# define BOOST_NO_CXX11_NUMERIC_LIMITS +# define BOOST_NO_CXX11_NOEXCEPT +# define BOOST_NO_CXX11_LAMBDAS +# define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS # define BOOST_NO_MS_INT64_NUMERIC_LIMITS -# define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -# define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -# define BOOST_NO_DELETED_FUNCTIONS -# define BOOST_NO_DEFAULTED_FUNCTIONS -# define BOOST_NO_DECLTYPE -# define BOOST_NO_DECLTYPE_N3276 -# define BOOST_NO_CONSTEXPR +# define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS +# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +# define BOOST_NO_CXX11_DELETED_FUNCTIONS +# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +# define BOOST_NO_CXX11_DECLTYPE +# define BOOST_NO_CXX11_DECLTYPE_N3276 +# define BOOST_NO_CXX11_CONSTEXPR # define BOOST_NO_COMPLETE_VALUE_INITIALIZATION -# define BOOST_NO_CHAR32_T -# define BOOST_NO_CHAR16_T -# define BOOST_NO_AUTO_MULTIDECLARATIONS -# define BOOST_NO_AUTO_DECLARATIONS -# define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +# define BOOST_NO_CXX11_CHAR32_T +# define BOOST_NO_CXX11_CHAR16_T +# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +# define BOOST_NO_CXX11_AUTO_DECLARATIONS +# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX # define BOOST_NO_CXX11_HDR_UNORDERED_SET # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_TYPEINDEX diff --git a/include/boost/config/compiler/pgi.hpp b/include/boost/config/compiler/pgi.hpp index e818e6cb..fa32fefb 100644 --- a/include/boost/config/compiler/pgi.hpp +++ b/include/boost/config/compiler/pgi.hpp @@ -32,9 +32,8 @@ #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL #define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#define BOOST_NO_AUTO_MULTIDECLARATIONS -#define BOOST_NO_AUTO_DECLARATIONS -#define BOOST_NO_STD_UNORDERED +#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +#define BOOST_NO_CXX11_AUTO_DECLARATIONS #elif __PGIC__ >= 10 @@ -53,8 +52,8 @@ #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL #define BOOST_NO_TWO_PHASE_NAME_LOOKUP #define BOOST_NO_SWPRINTF -#define BOOST_NO_AUTO_MULTIDECLARATIONS -#define BOOST_NO_AUTO_DECLARATIONS +#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +#define BOOST_NO_CXX11_AUTO_DECLARATIONS #else @@ -66,32 +65,33 @@ // // See boost\config\suffix.hpp for BOOST_NO_LONG_LONG // -#define BOOST_NO_CHAR16_T -#define BOOST_NO_CHAR32_T -#define BOOST_NO_CONSTEXPR -#define BOOST_NO_DECLTYPE -#define BOOST_NO_DECLTYPE_N3276 -#define BOOST_NO_DEFAULTED_FUNCTIONS -#define BOOST_NO_DELETED_FUNCTIONS -#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_EXTERN_TEMPLATE -#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_LAMBDAS -#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_NOEXCEPT -#define BOOST_NO_NULLPTR -#define BOOST_NO_NUMERIC_LIMITS_LOWEST -#define BOOST_NO_RAW_LITERALS -#define BOOST_NO_RVALUE_REFERENCES -#define BOOST_NO_SCOPED_ENUMS +#define BOOST_NO_CXX11_CHAR16_T +#define BOOST_NO_CXX11_CHAR32_T +#define BOOST_NO_CXX11_CONSTEXPR +#define BOOST_NO_CXX11_DECLTYPE +#define BOOST_NO_CXX11_DECLTYPE_N3276 +#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#define BOOST_NO_CXX11_DELETED_FUNCTIONS +#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +#define BOOST_NO_CXX11_EXTERN_TEMPLATE +#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS +#define BOOST_NO_CXX11_LAMBDAS +#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +#define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_NULLPTR +#define BOOST_NO_CXX11_NUMERIC_LIMITS +#define BOOST_NO_CXX11_RANGE_BASED_FOR +#define BOOST_NO_CXX11_RAW_LITERALS +#define BOOST_NO_CXX11_RVALUE_REFERENCES +#define BOOST_NO_CXX11_SCOPED_ENUMS #define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_STATIC_ASSERT +#define BOOST_NO_CXX11_STATIC_ASSERT #define BOOST_NO_SWPRINTF -#define BOOST_NO_TEMPLATE_ALIASES -#define BOOST_NO_UNICODE_LITERALS -#define BOOST_NO_VARIADIC_TEMPLATES -#define BOOST_NO_VARIADIC_MACROS -#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#define BOOST_NO_CXX11_TEMPLATE_ALIASES +#define BOOST_NO_CXX11_UNICODE_LITERALS +#define BOOST_NO_CXX11_VARIADIC_TEMPLATES +#define BOOST_NO_CXX11_VARIADIC_MACROS +#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #define BOOST_NO_CXX11_HDR_UNORDERED_SET #define BOOST_NO_CXX11_HDR_UNORDERED_MAP diff --git a/include/boost/config/compiler/sunpro_cc.hpp b/include/boost/config/compiler/sunpro_cc.hpp index 7d298e6c..65beb501 100644 --- a/include/boost/config/compiler/sunpro_cc.hpp +++ b/include/boost/config/compiler/sunpro_cc.hpp @@ -99,33 +99,34 @@ // # define BOOST_HAS_LONG_LONG -#define BOOST_NO_AUTO_DECLARATIONS -#define BOOST_NO_AUTO_MULTIDECLARATIONS -#define BOOST_NO_CHAR16_T -#define BOOST_NO_CHAR32_T -#define BOOST_NO_CONSTEXPR -#define BOOST_NO_DECLTYPE -#define BOOST_NO_DECLTYPE_N3276 -#define BOOST_NO_DEFAULTED_FUNCTIONS -#define BOOST_NO_DELETED_FUNCTIONS -#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_EXTERN_TEMPLATE -#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +#define BOOST_NO_CXX11_AUTO_DECLARATIONS +#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +#define BOOST_NO_CXX11_CHAR16_T +#define BOOST_NO_CXX11_CHAR32_T +#define BOOST_NO_CXX11_CONSTEXPR +#define BOOST_NO_CXX11_DECLTYPE +#define BOOST_NO_CXX11_DECLTYPE_N3276 +#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#define BOOST_NO_CXX11_DELETED_FUNCTIONS +#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +#define BOOST_NO_CXX11_EXTERN_TEMPLATE +#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_LAMBDAS -#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_NOEXCEPT -#define BOOST_NO_NULLPTR -#define BOOST_NO_RAW_LITERALS -#define BOOST_NO_RVALUE_REFERENCES -#define BOOST_NO_SCOPED_ENUMS +#define BOOST_NO_CXX11_LAMBDAS +#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +#define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_NULLPTR +#define BOOST_NO_CXX11_RANGE_BASED_FOR +#define BOOST_NO_CXX11_RAW_LITERALS +#define BOOST_NO_CXX11_RVALUE_REFERENCES +#define BOOST_NO_CXX11_SCOPED_ENUMS #define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_STATIC_ASSERT -#define BOOST_NO_TEMPLATE_ALIASES -#define BOOST_NO_UNICODE_LITERALS -#define BOOST_NO_VARIADIC_TEMPLATES -#define BOOST_NO_VARIADIC_MACROS -#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#define BOOST_NO_CXX11_STATIC_ASSERT +#define BOOST_NO_CXX11_TEMPLATE_ALIASES +#define BOOST_NO_CXX11_UNICODE_LITERALS +#define BOOST_NO_CXX11_VARIADIC_TEMPLATES +#define BOOST_NO_CXX11_VARIADIC_MACROS +#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX // // Version diff --git a/include/boost/config/compiler/vacpp.hpp b/include/boost/config/compiler/vacpp.hpp index bad10711..2410d5a3 100644 --- a/include/boost/config/compiler/vacpp.hpp +++ b/include/boost/config/compiler/vacpp.hpp @@ -71,50 +71,59 @@ // See boost\config\suffix.hpp for BOOST_NO_LONG_LONG // #if ! __IBMCPP_AUTO_TYPEDEDUCTION -# define BOOST_NO_AUTO_DECLARATIONS -# define BOOST_NO_AUTO_MULTIDECLARATIONS +# define BOOST_NO_CXX11_AUTO_DECLARATIONS +# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS #endif #if ! __IBMCPP_UTF_LITERAL__ -# define BOOST_NO_CHAR16_T -# define BOOST_NO_CHAR32_T +# define BOOST_NO_CXX11_CHAR16_T +# define BOOST_NO_CXX11_CHAR32_T +#endif +#if ! __IBMCPP_CONSTEXPR +# define BOOST_NO_CXX11_CONSTEXPR #endif -#define BOOST_NO_CONSTEXPR #if ! __IBMCPP_DECLTYPE -# define BOOST_NO_DECLTYPE +# define BOOST_NO_CXX11_DECLTYPE #else # define BOOST_HAS_DECLTYPE #endif -#define BOOST_NO_DECLTYPE_N3276 -#define BOOST_NO_DEFAULTED_FUNCTIONS -#define BOOST_NO_DELETED_FUNCTIONS -#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS +#define BOOST_NO_CXX11_DECLTYPE_N3276 +#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#define BOOST_NO_CXX11_DELETED_FUNCTIONS +#if ! __IBMCPP_EXPLICIT_CONVERSION_OPERATORS +# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +#endif #if ! __IBMCPP_EXTERN_TEMPLATE -# define BOOST_NO_EXTERN_TEMPLATE +# define BOOST_NO_CXX11_EXTERN_TEMPLATE #endif #if ! __IBMCPP_VARIADIC_TEMPLATES // not enabled separately at this time -# define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +# define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS #endif #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_LAMBDAS -#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS -#define BOOST_NO_NOEXCEPT -#define BOOST_NO_NULLPTR -#define BOOST_NO_RAW_LITERALS -#define BOOST_NO_RVALUE_REFERENCES -#define BOOST_NO_SCOPED_ENUMS -#define BOOST_NO_SFINAE_EXPR -#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX -#if ! __IBMCPP_STATIC_ASSERT -# define BOOST_NO_STATIC_ASSERT +#define BOOST_NO_CXX11_LAMBDAS +#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +#define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_NULLPTR +#define BOOST_NO_CXX11_RANGE_BASED_FOR +#define BOOST_NO_CXX11_RAW_LITERALS +#if ! __IBMCPP_RVALUE_REFERENCES +# define BOOST_NO_CXX11_RVALUE_REFERENCES #endif -#define BOOST_NO_TEMPLATE_ALIASES -#define BOOST_NO_UNICODE_LITERALS +#if ! __IBMCPP_SCOPED_ENUM +# define BOOST_NO_CXX11_SCOPED_ENUMS +#endif +#define BOOST_NO_SFINAE_EXPR +#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX +#if ! __IBMCPP_STATIC_ASSERT +# define BOOST_NO_CXX11_STATIC_ASSERT +#endif +#define BOOST_NO_CXX11_TEMPLATE_ALIASES +#define BOOST_NO_CXX11_UNICODE_LITERALS #if ! __IBMCPP_VARIADIC_TEMPLATES -# define BOOST_NO_VARIADIC_TEMPLATES +# define BOOST_NO_CXX11_VARIADIC_TEMPLATES #endif #if ! __C99_MACRO_WITH_VA_ARGS -# define BOOST_NO_VARIADIC_MACROS +# define BOOST_NO_CXX11_VARIADIC_MACROS #endif diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index a2aea02d..0b11faaf 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -99,9 +99,9 @@ // it appears not to actually work: # define BOOST_NO_SWPRINTF // Our extern template tests also fail for this compiler: -# define BOOST_NO_EXTERN_TEMPLATE +# define BOOST_NO_CXX11_EXTERN_TEMPLATE // Variadic macros do not exist for VC7.1 and lower -# define BOOST_NO_VARIADIC_MACROS +# define BOOST_NO_CXX11_VARIADIC_MACROS #endif #if defined(UNDER_CE) @@ -191,38 +191,44 @@ // C++ features supported by VC++ 10 (aka 2010) // #if _MSC_VER < 1600 -# define BOOST_NO_AUTO_DECLARATIONS -# define BOOST_NO_AUTO_MULTIDECLARATIONS -# define BOOST_NO_LAMBDAS -# define BOOST_NO_RVALUE_REFERENCES -# define BOOST_NO_STATIC_ASSERT -# define BOOST_NO_NULLPTR -# define BOOST_NO_DECLTYPE +# define BOOST_NO_CXX11_AUTO_DECLARATIONS +# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS +# define BOOST_NO_CXX11_LAMBDAS +# define BOOST_NO_CXX11_RVALUE_REFERENCES +# define BOOST_NO_CXX11_STATIC_ASSERT +# define BOOST_NO_CXX11_NULLPTR +# define BOOST_NO_CXX11_DECLTYPE #endif // _MSC_VER < 1600 #if _MSC_VER >= 1600 # define BOOST_HAS_STDINT_H #endif +// C++ features supported by VC++ 11 (aka 2012) +// +#if _MSC_VER < 1700 +# define BOOST_NO_CXX11_RANGE_BASED_FOR +# define BOOST_NO_CXX11_SCOPED_ENUMS +#endif // _MSC_VER < 1700 + // C++0x features not supported by any versions -#define BOOST_NO_CHAR16_T -#define BOOST_NO_CHAR32_T -#define BOOST_NO_CONSTEXPR -#define BOOST_NO_DECLTYPE_N3276 -#define BOOST_NO_DEFAULTED_FUNCTIONS -#define BOOST_NO_DELETED_FUNCTIONS -#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS -#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +#define BOOST_NO_CXX11_CHAR16_T +#define BOOST_NO_CXX11_CHAR32_T +#define BOOST_NO_CXX11_CONSTEXPR +#define BOOST_NO_CXX11_DECLTYPE_N3276 +#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS +#define BOOST_NO_CXX11_DELETED_FUNCTIONS +#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS +#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#define BOOST_NO_NOEXCEPT -#define BOOST_NO_RAW_LITERALS -#define BOOST_NO_SCOPED_ENUMS -#define BOOST_NO_TEMPLATE_ALIASES -#define BOOST_NO_UNICODE_LITERALS -#define BOOST_NO_VARIADIC_TEMPLATES +#define BOOST_NO_CXX11_NOEXCEPT +#define BOOST_NO_CXX11_RAW_LITERALS +#define BOOST_NO_CXX11_TEMPLATE_ALIASES +#define BOOST_NO_CXX11_UNICODE_LITERALS +#define BOOST_NO_CXX11_VARIADIC_TEMPLATES #define BOOST_NO_SFINAE_EXPR #define BOOST_NO_TWO_PHASE_NAME_LOOKUP -#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX // // prefix and suffix headers: // @@ -233,6 +239,7 @@ # define BOOST_ABI_SUFFIX "boost/config/abi/msvc_suffix.hpp" #endif +#ifndef BOOST_COMPILER // TODO: // these things are mostly bogus. 1200 means version 12.0 of the compiler. The // artificial versions assigned to them only refer to the versions of some IDE @@ -289,7 +296,8 @@ # endif # endif -#define BOOST_COMPILER "Microsoft Visual C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION) +# define BOOST_COMPILER "Microsoft Visual C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION) +#endif // // last known and checked version is 1700 (VC11, aka 2011): diff --git a/include/boost/config/stdlib/dinkumware.hpp b/include/boost/config/stdlib/dinkumware.hpp index 1b89d28b..e0032b9d 100644 --- a/include/boost/config/stdlib/dinkumware.hpp +++ b/include/boost/config/stdlib/dinkumware.hpp @@ -101,13 +101,12 @@ # define BOOST_NO_CXX11_HDR_RANDOM # define BOOST_NO_CXX11_HDR_REGEX # define BOOST_NO_CXX11_HDR_SYSTEM_ERROR -# define BOOST_NO_STD_UNORDERED // deprecated; see following # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET # define BOOST_NO_CXX11_HDR_TUPLE # define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_CXX11_HDR_FUNCTIONAL -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_SMART_PTR #endif diff --git a/include/boost/config/stdlib/libcomo.hpp b/include/boost/config/stdlib/libcomo.hpp index c92635a7..29490f1b 100644 --- a/include/boost/config/stdlib/libcomo.hpp +++ b/include/boost/config/stdlib/libcomo.hpp @@ -51,10 +51,9 @@ # define BOOST_NO_CXX11_HDR_TUPLE # define BOOST_NO_CXX11_HDR_TYPE_TRAITS # define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_STD_UNORDERED // deprecated; see following # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index 283d68e9..c56dff22 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -108,7 +108,6 @@ # define BOOST_NO_CXX11_HDR_ARRAY # define BOOST_NO_CXX11_HDR_REGEX # define BOOST_NO_CXX11_HDR_TUPLE -# define BOOST_NO_STD_UNORDERED // deprecated; see following # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET # define BOOST_NO_CXX11_HDR_FUNCTIONAL @@ -137,7 +136,7 @@ // C++0x features in GCC 4.5.0 and later // #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_HDR_FUTURE # define BOOST_NO_CXX11_HDR_RANDOM #endif diff --git a/include/boost/config/stdlib/modena.hpp b/include/boost/config/stdlib/modena.hpp index a4c7b76c..b483b6e0 100644 --- a/include/boost/config/stdlib/modena.hpp +++ b/include/boost/config/stdlib/modena.hpp @@ -40,10 +40,9 @@ # define BOOST_NO_CXX11_HDR_TUPLE # define BOOST_NO_CXX11_HDR_TYPE_TRAITS # define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_STD_UNORDERED // deprecated; see following # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/stdlib/msl.hpp b/include/boost/config/stdlib/msl.hpp index 44151162..4f9a2da6 100644 --- a/include/boost/config/stdlib/msl.hpp +++ b/include/boost/config/stdlib/msl.hpp @@ -64,10 +64,9 @@ # define BOOST_NO_CXX11_HDR_TUPLE # define BOOST_NO_CXX11_HDR_TYPE_TRAITS # define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_STD_UNORDERED // deprecated; see following # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/stdlib/roguewave.hpp b/include/boost/config/stdlib/roguewave.hpp index 5273c72b..cb80f570 100644 --- a/include/boost/config/stdlib/roguewave.hpp +++ b/include/boost/config/stdlib/roguewave.hpp @@ -176,10 +176,9 @@ # define BOOST_NO_CXX11_HDR_THREAD # define BOOST_NO_CXX11_HDR_TUPLE # define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_STD_UNORDERED // deprecated; see following # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/stdlib/sgi.hpp b/include/boost/config/stdlib/sgi.hpp index 10b4ee22..ae9b6ad9 100644 --- a/include/boost/config/stdlib/sgi.hpp +++ b/include/boost/config/stdlib/sgi.hpp @@ -134,10 +134,9 @@ # define BOOST_NO_CXX11_HDR_TUPLE # define BOOST_NO_CXX11_HDR_TYPE_TRAITS # define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_STD_UNORDERED // deprecated; see following # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/stdlib/stlport.hpp b/include/boost/config/stdlib/stlport.hpp index f2a3a9a0..bcc30b99 100644 --- a/include/boost/config/stdlib/stlport.hpp +++ b/include/boost/config/stdlib/stlport.hpp @@ -71,10 +71,6 @@ # endif #endif -#if defined(_STLPORT_VERSION) && ((_STLPORT_VERSION < 0x500) || (_STLPORT_VERSION >= 0x520)) -# define BOOST_NO_STD_UNORDERED -#endif - #if defined(_STLPORT_VERSION) && (_STLPORT_VERSION >= 0x520) # define BOOST_HAS_TR1_UNORDERED_SET # define BOOST_HAS_TR1_UNORDERED_MAP @@ -228,10 +224,9 @@ namespace boost { using std::min; using std::max; } # define BOOST_NO_CXX11_HDR_TUPLE # define BOOST_NO_CXX11_HDR_TYPE_TRAITS # define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_STD_UNORDERED // deprecated; see following # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/stdlib/vacpp.hpp b/include/boost/config/stdlib/vacpp.hpp index 2c609d6e..9d169465 100644 --- a/include/boost/config/stdlib/vacpp.hpp +++ b/include/boost/config/stdlib/vacpp.hpp @@ -40,10 +40,9 @@ # define BOOST_NO_CXX11_HDR_TUPLE # define BOOST_NO_CXX11_HDR_TYPE_TRAITS # define BOOST_NO_CXX11_HDR_TYPEINDEX -# define BOOST_NO_STD_UNORDERED // deprecated; see following # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/suffix.hpp b/include/boost/config/suffix.hpp index 502eb4fa..2d248132 100644 --- a/include/boost/config/suffix.hpp +++ b/include/boost/config/suffix.hpp @@ -103,13 +103,6 @@ # define BOOST_NO_LONG_LONG_NUMERIC_LIMITS #endif -// -// Normalize BOOST_NO_STATIC_ASSERT and (depricated) BOOST_HAS_STATIC_ASSERT: -// -#if !defined(BOOST_NO_STATIC_ASSERT) && !defined(BOOST_HAS_STATIC_ASSERT) -# define BOOST_HAS_STATIC_ASSERT -#endif - // // if there is no __int64 then there is no specialisation // for numeric_limits<__int64> either: @@ -334,27 +327,6 @@ # define BOOST_HASH_MAP_HEADER #endif -// -// Set BOOST_HAS_RVALUE_REFS when BOOST_NO_RVALUE_REFERENCES is not defined -// -#if !defined(BOOST_NO_RVALUE_REFERENCES) && !defined(BOOST_HAS_RVALUE_REFS) -#define BOOST_HAS_RVALUE_REFS -#endif - -// -// Set BOOST_HAS_VARIADIC_TMPL when BOOST_NO_VARIADIC_TEMPLATES is not defined -// -#if !defined(BOOST_NO_VARIADIC_TEMPLATES) && !defined(BOOST_HAS_VARIADIC_TMPL) -#define BOOST_HAS_VARIADIC_TMPL -#endif - -// -// Set BOOST_NO_DECLTYPE_N3276 when BOOST_NO_DECLTYPE is defined -// -#if !defined(BOOST_NO_DECLTYPE_N3276) && defined(BOOST_NO_DECLTYPE) -#define BOOST_NO_DECLTYPE_N3276 -#endif - // BOOST_HAS_ABI_HEADERS // This macro gets set if we have headers that fix the ABI, // and prevent ODR violations when linking to external libraries: @@ -624,20 +596,6 @@ namespace std{ using ::type_info; } #define BOOST_DO_JOIN( X, Y ) BOOST_DO_JOIN2(X,Y) #define BOOST_DO_JOIN2( X, Y ) X##Y -// -// Helper macros BOOST_NOEXCEPT, BOOST_NOEXCEPT_IF, BOOST_NOEXCEPT_EXPR -// These aid the transition to C++11 while still supporting C++03 compilers -// -#ifdef BOOST_NO_NOEXCEPT -# define BOOST_NOEXCEPT -# define BOOST_NOEXCEPT_IF(Predicate) -# define BOOST_NOEXCEPT_EXPR(Expression) false -#else -# define BOOST_NOEXCEPT noexcept -# define BOOST_NOEXCEPT_IF(Predicate) noexcept((Predicate)) -# define BOOST_NOEXCEPT_EXPR(Expression) noexcept((Expression)) -#endif - // // Set some default values for compiler/library/platform names. // These are for debugging config setup only: @@ -664,19 +622,6 @@ namespace std{ using ::type_info; } # define BOOST_GPU_ENABLED # endif -// -// constexpr workarounds -// -#if defined(BOOST_NO_CONSTEXPR) -#define BOOST_CONSTEXPR -#define BOOST_CONSTEXPR_OR_CONST const -#else -#define BOOST_CONSTEXPR constexpr -#define BOOST_CONSTEXPR_OR_CONST constexpr -#endif - -#define BOOST_STATIC_CONSTEXPR static BOOST_CONSTEXPR_OR_CONST - // BOOST_FORCEINLINE ---------------------------------------------// // Macro to use in place of 'inline' to force a function to be inline #if !defined(BOOST_FORCEINLINE) @@ -689,10 +634,24 @@ namespace std{ using ::type_info; } # endif #endif +// +// Set BOOST_NO_DECLTYPE_N3276 when BOOST_NO_DECLTYPE is defined +// +#if defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_NO_CXX11_DECLTYPE_N3276) +#define BOOST_NO_CXX11_DECLTYPE_N3276 BOOST_NO_CXX11_DECLTYPE +#endif // -------------------- Deprecated macros for 1.50 --------------------------- // These will go away in a future release +// Use BOOST_NO_CXX11_HDR_UNORDERED_SET or BOOST_NO_CXX11_HDR_UNORDERED_MAP +// instead of BOOST_NO_STD_UNORDERED +#if defined(BOOST_NO_CXX11_HDR_UNORDERED_MAP) || defined (BOOST_NO_CXX11_HDR_UNORDERED_SET) +# ifndef BOOST_NO_STD_UNORDERED +# define BOOST_NO_STD_UNORDERED +# endif +#endif + // Use BOOST_NO_CXX11_HDR_INITIALIZER_LIST instead of BOOST_NO_INITIALIZER_LISTS #if defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST) && !defined(BOOST_NO_INITIALIZER_LISTS) # define BOOST_NO_INITIALIZER_LISTS @@ -781,5 +740,168 @@ namespace std{ using ::type_info; } // ------------------ End of deprecated macros for 1.50 --------------------------- +// -------------------- Deprecated macros for 1.51 --------------------------- +// These will go away in a future release + +// Use BOOST_NO_CXX11_AUTO_DECLARATIONS instead of BOOST_NO_AUTO_DECLARATIONS +#if defined(BOOST_NO_CXX11_AUTO_DECLARATIONS) && !defined(BOOST_NO_AUTO_DECLARATIONS) +# define BOOST_NO_AUTO_DECLARATIONS +#endif +// Use BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS instead of BOOST_NO_AUTO_MULTIDECLARATIONS +#if defined(BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS) && !defined(BOOST_NO_AUTO_MULTIDECLARATIONS) +# define BOOST_NO_AUTO_MULTIDECLARATIONS +#endif +// Use BOOST_NO_CXX11_CHAR16_T instead of BOOST_NO_CHAR16_T +#if defined(BOOST_NO_CXX11_CHAR16_T) && !defined(BOOST_NO_CHAR16_T) +# define BOOST_NO_CHAR16_T +#endif +// Use BOOST_NO_CXX11_CHAR32_T instead of BOOST_NO_CHAR32_T +#if defined(BOOST_NO_CXX11_CHAR32_T) && !defined(BOOST_NO_CHAR32_T) +# define BOOST_NO_CHAR32_T +#endif +// Use BOOST_NO_CXX11_TEMPLATE_ALIASES instead of BOOST_NO_TEMPLATE_ALIASES +#if defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) && !defined(BOOST_NO_TEMPLATE_ALIASES) +# define BOOST_NO_TEMPLATE_ALIASES +#endif +// Use BOOST_NO_CXX11_CONSTEXPR instead of BOOST_NO_CONSTEXPR +#if defined(BOOST_NO_CXX11_CONSTEXPR) && !defined(BOOST_NO_CONSTEXPR) +# define BOOST_NO_CONSTEXPR +#endif +// Use BOOST_NO_CXX11_DECLTYPE_N3276 instead of BOOST_NO_DECLTYPE_N3276 +#if defined(BOOST_NO_CXX11_DECLTYPE_N3276) && !defined(BOOST_NO_DECLTYPE_N3276) +# define BOOST_NO_DECLTYPE_N3276 +#endif +// Use BOOST_NO_CXX11_DECLTYPE instead of BOOST_NO_DECLTYPE +#if defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_NO_DECLTYPE) +# define BOOST_NO_DECLTYPE +#endif +// Use BOOST_NO_CXX11_DEFAULTED_FUNCTIONS instead of BOOST_NO_DEFAULTED_FUNCTIONS +#if defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) && !defined(BOOST_NO_DEFAULTED_FUNCTIONS) +# define BOOST_NO_DEFAULTED_FUNCTIONS +#endif +// Use BOOST_NO_CXX11_DELETED_FUNCTIONS instead of BOOST_NO_DELETED_FUNCTIONS +#if defined(BOOST_NO_CXX11_DELETED_FUNCTIONS) && !defined(BOOST_NO_DELETED_FUNCTIONS) +# define BOOST_NO_DELETED_FUNCTIONS +#endif +// Use BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS instead of BOOST_NO_EXPLICIT_CONVERSION_OPERATORS +#if defined(BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS) && !defined(BOOST_NO_EXPLICIT_CONVERSION_OPERATORS) +# define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS +#endif +// Use BOOST_NO_CXX11_EXTERN_TEMPLATE instead of BOOST_NO_EXTERN_TEMPLATE +#if defined(BOOST_NO_CXX11_EXTERN_TEMPLATE) && !defined(BOOST_NO_EXTERN_TEMPLATE) +# define BOOST_NO_EXTERN_TEMPLATE +#endif +// Use BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS instead of BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +#if defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS) && !defined(BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS) +# define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +#endif +// Use BOOST_NO_CXX11_LAMBDAS instead of BOOST_NO_LAMBDAS +#if defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_NO_LAMBDAS) +# define BOOST_NO_LAMBDAS +#endif +// Use BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS instead of BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +#if defined(BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS) && !defined(BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS) +# define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +#endif +// Use BOOST_NO_CXX11_NOEXCEPT instead of BOOST_NO_NOEXCEPT +#if defined(BOOST_NO_CXX11_NOEXCEPT) && !defined(BOOST_NO_NOEXCEPT) +# define BOOST_NO_NOEXCEPT +#endif +// Use BOOST_NO_CXX11_NULLPTR instead of BOOST_NO_NULLPTR +#if defined(BOOST_NO_CXX11_NULLPTR) && !defined(BOOST_NO_NULLPTR) +# define BOOST_NO_NULLPTR +#endif +// Use BOOST_NO_CXX11_RAW_LITERALS instead of BOOST_NO_RAW_LITERALS +#if defined(BOOST_NO_CXX11_RAW_LITERALS) && !defined(BOOST_NO_RAW_LITERALS) +# define BOOST_NO_RAW_LITERALS +#endif +// Use BOOST_NO_CXX11_RVALUE_REFERENCES instead of BOOST_NO_RVALUE_REFERENCES +#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_NO_RVALUE_REFERENCES) +# define BOOST_NO_RVALUE_REFERENCES +#endif +// Use BOOST_NO_CXX11_SCOPED_ENUMS instead of BOOST_NO_SCOPED_ENUMS +#if defined(BOOST_NO_CXX11_SCOPED_ENUMS) && !defined(BOOST_NO_SCOPED_ENUMS) +# define BOOST_NO_SCOPED_ENUMS +#endif +// Use BOOST_NO_CXX11_STATIC_ASSERT instead of BOOST_NO_STATIC_ASSERT +#if defined(BOOST_NO_CXX11_STATIC_ASSERT) && !defined(BOOST_NO_STATIC_ASSERT) +# define BOOST_NO_STATIC_ASSERT +#endif +// Use BOOST_NO_CXX11_STD_UNORDERD instead of BOOST_NO_STD_UNORDERD +#if defined(BOOST_NO_CXX11_STD_UNORDERD) && !defined(BOOST_NO_STD_UNORDERD) +# define BOOST_NO_STD_UNORDERD +#endif +// Use BOOST_NO_CXX11_UNICODE_LITERALS instead of BOOST_NO_UNICODE_LITERALS +#if defined(BOOST_NO_CXX11_UNICODE_LITERALS) && !defined(BOOST_NO_UNICODE_LITERALS) +# define BOOST_NO_UNICODE_LITERALS +#endif +// Use BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX instead of BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#if defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) && !defined(BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX) +# define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#endif +// Use BOOST_NO_CXX11_VARIADIC_TEMPLATES instead of BOOST_NO_VARIADIC_TEMPLATES +#if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !defined(BOOST_NO_VARIADIC_TEMPLATES) +# define BOOST_NO_VARIADIC_TEMPLATES +#endif +// Use BOOST_NO_CXX11_VARIADIC_MACROS instead of BOOST_NO_VARIADIC_MACROS +#if defined(BOOST_NO_CXX11_VARIADIC_MACROS) && !defined(BOOST_NO_VARIADIC_MACROS) +# define BOOST_NO_VARIADIC_MACROS +#endif +// Use BOOST_NO_CXX11_NUMERIC_LIMITS instead of BOOST_NO_NUMERIC_LIMITS_LOWEST +#if defined(BOOST_NO_CXX11_NUMERIC_LIMITS) && !defined(BOOST_NO_NUMERIC_LIMITS_LOWEST) +# define BOOST_NO_NUMERIC_LIMITS_LOWEST +#endif +// ------------------ End of deprecated macros for 1.51 --------------------------- + + + +// +// Helper macros BOOST_NOEXCEPT, BOOST_NOEXCEPT_IF, BOOST_NOEXCEPT_EXPR +// These aid the transition to C++11 while still supporting C++03 compilers +// +#ifdef BOOST_NO_NOEXCEPT +# define BOOST_NOEXCEPT +# define BOOST_NOEXCEPT_IF(Predicate) +# define BOOST_NOEXCEPT_EXPR(Expression) false +#else +# define BOOST_NOEXCEPT noexcept +# define BOOST_NOEXCEPT_IF(Predicate) noexcept((Predicate)) +# define BOOST_NOEXCEPT_EXPR(Expression) noexcept((Expression)) +#endif + +// +// Normalize BOOST_NO_STATIC_ASSERT and (depricated) BOOST_HAS_STATIC_ASSERT: +// +#if !defined(BOOST_NO_STATIC_ASSERT) && !defined(BOOST_HAS_STATIC_ASSERT) +# define BOOST_HAS_STATIC_ASSERT +#endif + +// +// constexpr workarounds +// +#if defined(BOOST_NO_CONSTEXPR) +#define BOOST_CONSTEXPR +#define BOOST_CONSTEXPR_OR_CONST const +#else +#define BOOST_CONSTEXPR constexpr +#define BOOST_CONSTEXPR_OR_CONST constexpr +#endif + +#define BOOST_STATIC_CONSTEXPR static BOOST_CONSTEXPR_OR_CONST + +// +// Set BOOST_HAS_RVALUE_REFS when BOOST_NO_RVALUE_REFERENCES is not defined +// +#if !defined(BOOST_NO_RVALUE_REFERENCES) && !defined(BOOST_HAS_RVALUE_REFS) +#define BOOST_HAS_RVALUE_REFS +#endif + +// +// Set BOOST_HAS_VARIADIC_TMPL when BOOST_NO_VARIADIC_TEMPLATES is not defined +// +#if !defined(BOOST_NO_VARIADIC_TEMPLATES) && !defined(BOOST_HAS_VARIADIC_TMPL) +#define BOOST_HAS_VARIADIC_TMPL +#endif + #endif diff --git a/test/all/Jamfile.v2 b/test/all/Jamfile.v2 index b839b995..7ef5e3c8 100644 --- a/test/all/Jamfile.v2 +++ b/test/all/Jamfile.v2 @@ -1,7 +1,7 @@ # # Regression test Jamfile for boost configuration setup. # *** DO NOT EDIT THIS FILE BY HAND *** -# This file was automatically generated on Sun Apr 22 11:55:04 2012 +# This file was automatically generated on Tue Jul 10 14:57:46 2012 # by libs/config/tools/generate.cpp # Copyright John Maddock. # Use, modification and distribution are subject to the @@ -184,10 +184,10 @@ test-suite "BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP" : test-suite "BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS" : [ run ../no_array_type_spec_pass.cpp ] [ compile-fail ../no_array_type_spec_fail.cpp ] ; -test-suite "BOOST_NO_AUTO_DECLARATIONS" : +test-suite "BOOST_NO_CXX11_AUTO_DECLARATIONS" : [ run ../no_auto_declarations_pass.cpp ] [ compile-fail ../no_auto_declarations_fail.cpp ] ; -test-suite "BOOST_NO_AUTO_MULTIDECLARATIONS" : +test-suite "BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS" : [ run ../no_auto_multidecl_pass.cpp ] [ compile-fail ../no_auto_multidecl_fail.cpp ] ; test-suite "BOOST_NO_AUTO_PTR" : @@ -196,16 +196,16 @@ test-suite "BOOST_NO_AUTO_PTR" : test-suite "BOOST_BCB_PARTIAL_SPECIALIZATION_BUG" : [ run ../no_bcb_partial_spec_pass.cpp ] [ compile-fail ../no_bcb_partial_spec_fail.cpp ] ; -test-suite "BOOST_NO_CHAR16_T" : +test-suite "BOOST_NO_CXX11_CHAR16_T" : [ run ../no_char16_t_pass.cpp ] [ compile-fail ../no_char16_t_fail.cpp ] ; -test-suite "BOOST_NO_CHAR32_T" : +test-suite "BOOST_NO_CXX11_CHAR32_T" : [ run ../no_char32_t_pass.cpp ] [ compile-fail ../no_char32_t_fail.cpp ] ; test-suite "BOOST_NO_COMPLETE_VALUE_INITIALIZATION" : [ run ../no_com_value_init_pass.cpp ] [ compile-fail ../no_com_value_init_fail.cpp ] ; -test-suite "BOOST_NO_CONSTEXPR" : +test-suite "BOOST_NO_CXX11_CONSTEXPR" : [ run ../no_constexpr_pass.cpp ] [ compile-fail ../no_constexpr_fail.cpp ] ; test-suite "BOOST_NO_CTYPE_FUNCTIONS" : @@ -289,19 +289,19 @@ test-suite "BOOST_NO_CXX11_SMART_PTR" : test-suite "BOOST_NO_CXX11_HDR_FUNCTIONAL" : [ run ../no_cxx_hdr_functional_pass.cpp ] [ compile-fail ../no_cxx_hdr_functional_fail.cpp ] ; -test-suite "BOOST_NO_DECLTYPE" : +test-suite "BOOST_NO_CXX11_DECLTYPE" : [ run ../no_decltype_pass.cpp ] [ compile-fail ../no_decltype_fail.cpp ] ; -test-suite "BOOST_NO_DECLTYPE_N3276" : +test-suite "BOOST_NO_CXX11_DECLTYPE_N3276" : [ run ../no_decltype_n3276_pass.cpp ] [ compile-fail ../no_decltype_n3276_fail.cpp ] ; test-suite "BOOST_DEDUCED_TYPENAME" : [ run ../no_ded_typename_pass.cpp ] [ compile-fail ../no_ded_typename_fail.cpp ] ; -test-suite "BOOST_NO_DEFAULTED_FUNCTIONS" : +test-suite "BOOST_NO_CXX11_DEFAULTED_FUNCTIONS" : [ run ../no_defaulted_functions_pass.cpp ] [ compile-fail ../no_defaulted_functions_fail.cpp ] ; -test-suite "BOOST_NO_DELETED_FUNCTIONS" : +test-suite "BOOST_NO_CXX11_DELETED_FUNCTIONS" : [ run ../no_deleted_functions_pass.cpp ] [ compile-fail ../no_deleted_functions_fail.cpp ] ; test-suite "BOOST_NO_DEPENDENT_NESTED_DERIVATIONS" : @@ -316,19 +316,19 @@ test-suite "BOOST_NO_EXCEPTIONS" : test-suite "BOOST_NO_EXCEPTION_STD_NAMESPACE" : [ run ../no_excep_std_pass.cpp ] [ compile-fail ../no_excep_std_fail.cpp ] ; -test-suite "BOOST_NO_EXPLICIT_CONVERSION_OPERATORS" : +test-suite "BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS" : [ run ../no_explicit_cvt_ops_pass.cpp ] [ compile-fail ../no_explicit_cvt_ops_fail.cpp ] ; test-suite "BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS" : [ run ../no_exp_func_tem_arg_pass.cpp ] [ compile-fail ../no_exp_func_tem_arg_fail.cpp ] ; -test-suite "BOOST_NO_EXTERN_TEMPLATE" : +test-suite "BOOST_NO_CXX11_EXTERN_TEMPLATE" : [ run ../no_extern_template_pass.cpp ] [ compile-fail ../no_extern_template_fail.cpp ] ; test-suite "BOOST_NO_FENV_H" : [ run ../no_fenv_h_pass.cpp ] [ compile-fail ../no_fenv_h_fail.cpp ] ; -test-suite "BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS" : +test-suite "BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS" : [ run ../no_function_template_default_args_pass.cpp ] [ compile-fail ../no_function_template_default_args_fail.cpp ] ; test-suite "BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS" : @@ -358,7 +358,7 @@ test-suite "BOOST_NO_IS_ABSTRACT" : test-suite "BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS" : [ run ../no_iter_construct_pass.cpp ] [ compile-fail ../no_iter_construct_fail.cpp ] ; -test-suite "BOOST_NO_LAMBDAS" : +test-suite "BOOST_NO_CXX11_LAMBDAS" : [ run ../no_lambdas_pass.cpp ] [ compile-fail ../no_lambdas_fail.cpp ] ; test-suite "BOOST_NO_LIMITS" : @@ -367,9 +367,9 @@ test-suite "BOOST_NO_LIMITS" : test-suite "BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS" : [ run ../no_limits_const_exp_pass.cpp ] [ compile-fail ../no_limits_const_exp_fail.cpp ] ; -test-suite "BOOST_NO_NUMERIC_LIMITS_LOWEST" : -[ run ../no_limits_lowest_pass.cpp ] -[ compile-fail ../no_limits_lowest_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_LONG_LONG_NUMERIC_LIMITS" : [ run ../no_ll_limits_pass.cpp ] [ compile-fail ../no_ll_limits_fail.cpp ] ; @@ -394,10 +394,10 @@ test-suite "BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS" : test-suite "BOOST_NO_NESTED_FRIENDSHIP" : [ run ../no_nested_friendship_pass.cpp ] [ compile-fail ../no_nested_friendship_fail.cpp ] ; -test-suite "BOOST_NO_NOEXCEPT" : +test-suite "BOOST_NO_CXX11_NOEXCEPT" : [ run ../no_noexcept_pass.cpp ] [ compile-fail ../no_noexcept_fail.cpp ] ; -test-suite "BOOST_NO_NULLPTR" : +test-suite "BOOST_NO_CXX11_NULLPTR" : [ run ../no_nullptr_pass.cpp ] [ compile-fail ../no_nullptr_fail.cpp ] ; test-suite "BOOST_NO_OPERATORS_IN_NAMESPACE" : @@ -415,7 +415,10 @@ test-suite "BOOST_NO_PRIVATE_IN_AGGREGATE" : test-suite "BOOST_NO_POINTER_TO_MEMBER_CONST" : [ run ../no_ptr_mem_const_pass.cpp ] [ compile-fail ../no_ptr_mem_const_fail.cpp ] ; -test-suite "BOOST_NO_RAW_LITERALS" : +test-suite "BOOST_NO_CXX11_RANGE_BASED_FOR" : +[ run ../no_range_based_for_pass.cpp ] +[ compile-fail ../no_range_based_for_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_RAW_LITERALS" : [ run ../no_raw_literals_pass.cpp ] [ compile-fail ../no_raw_literals_fail.cpp ] ; test-suite "BOOST_NO_UNREACHABLE_RETURN_DETECTION" : @@ -424,10 +427,10 @@ test-suite "BOOST_NO_UNREACHABLE_RETURN_DETECTION" : test-suite "BOOST_NO_RTTI" : [ run ../no_rtti_pass.cpp ] [ compile-fail ../no_rtti_fail.cpp ] ; -test-suite "BOOST_NO_RVALUE_REFERENCES" : +test-suite "BOOST_NO_CXX11_RVALUE_REFERENCES" : [ run ../no_rvalue_references_pass.cpp ] [ compile-fail ../no_rvalue_references_fail.cpp ] ; -test-suite "BOOST_NO_SCOPED_ENUMS" : +test-suite "BOOST_NO_CXX11_SCOPED_ENUMS" : [ run ../no_scoped_enums_pass.cpp ] [ compile-fail ../no_scoped_enums_fail.cpp ] ; test-suite "BOOST_NO_SFINAE" : @@ -439,7 +442,7 @@ test-suite "BOOST_NO_SFINAE_EXPR" : test-suite "BOOST_NO_STRINGSTREAM" : [ run ../no_sstream_pass.cpp ] [ compile-fail ../no_sstream_fail.cpp ] ; -test-suite "BOOST_NO_STATIC_ASSERT" : +test-suite "BOOST_NO_CXX11_STATIC_ASSERT" : [ run ../no_static_assert_pass.cpp ] [ compile-fail ../no_static_assert_fail.cpp ] ; test-suite "BOOST_NO_STDC_NAMESPACE" : @@ -487,7 +490,7 @@ test-suite "BOOST_NO_STD_WSTRING" : test-suite "BOOST_NO_SWPRINTF" : [ run ../no_swprintf_pass.cpp ] [ compile-fail ../no_swprintf_fail.cpp ] ; -test-suite "BOOST_NO_TEMPLATE_ALIASES" : +test-suite "BOOST_NO_CXX11_TEMPLATE_ALIASES" : [ run ../no_template_aliases_pass.cpp ] [ compile-fail ../no_template_aliases_fail.cpp ] ; test-suite "BOOST_NO_TEMPLATED_IOSTREAMS" : @@ -496,7 +499,7 @@ test-suite "BOOST_NO_TEMPLATED_IOSTREAMS" : test-suite "BOOST_NO_TEMPLATE_TEMPLATES" : [ run ../no_template_template_pass.cpp ] [ compile-fail ../no_template_template_fail.cpp ] ; -test-suite "BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS" : +test-suite "BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS" : [ run ../no_tem_local_classes_pass.cpp ] [ compile-fail ../no_tem_local_classes_fail.cpp ] ; test-suite "BOOST_NO_TWO_PHASE_NAME_LOOKUP" : @@ -508,10 +511,10 @@ test-suite "BOOST_NO_TYPEID" : test-suite "BOOST_NO_TYPENAME_WITH_CTOR" : [ run ../no_typename_with_ctor_pass.cpp ] [ compile-fail ../no_typename_with_ctor_fail.cpp ] ; -test-suite "BOOST_NO_UNICODE_LITERALS" : +test-suite "BOOST_NO_CXX11_UNICODE_LITERALS" : [ run ../no_unicode_literals_pass.cpp ] [ compile-fail ../no_unicode_literals_fail.cpp ] ; -test-suite "BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX" : +test-suite "BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX" : [ run ../no_unified_init_pass.cpp ] [ compile-fail ../no_unified_init_fail.cpp ] ; test-suite "BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL" : @@ -523,10 +526,10 @@ test-suite "BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE" : test-suite "BOOST_NO_USING_TEMPLATE" : [ run ../no_using_template_pass.cpp ] [ compile-fail ../no_using_template_fail.cpp ] ; -test-suite "BOOST_NO_VARIADIC_MACROS" : +test-suite "BOOST_NO_CXX11_VARIADIC_MACROS" : [ run ../no_variadic_macros_pass.cpp ] [ compile-fail ../no_variadic_macros_fail.cpp ] ; -test-suite "BOOST_NO_VARIADIC_TEMPLATES" : +test-suite "BOOST_NO_CXX11_VARIADIC_TEMPLATES" : [ run ../no_variadic_templates_pass.cpp ] [ compile-fail ../no_variadic_templates_fail.cpp ] ; test-suite "BOOST_NO_VOID_RETURNS" : diff --git a/test/boost_no_auto_declarations.ipp b/test/boost_no_auto_declarations.ipp index 65410827..ce526eb8 100644 --- a/test/boost_no_auto_declarations.ipp +++ b/test/boost_no_auto_declarations.ipp @@ -5,11 +5,11 @@ // See http://www.boost.org/libs/config for most recent version. -// MACRO: BOOST_NO_AUTO_DECLARATIONS +// MACRO: BOOST_NO_CXX11_AUTO_DECLARATIONS // TITLE: C++0x auto declarators unavailable // DESCRIPTION: The compiler does not support C++0x declarations of variables with automatically deduced type -namespace boost_no_auto_declarations { +namespace boost_no_cxx11_auto_declarations { void check_f(int& x) { diff --git a/test/boost_no_auto_multidecl.ipp b/test/boost_no_auto_multidecl.ipp index ea976612..fe22cadc 100644 --- a/test/boost_no_auto_multidecl.ipp +++ b/test/boost_no_auto_multidecl.ipp @@ -5,11 +5,11 @@ // See http://www.boost.org/libs/config for most recent version. -// MACRO: BOOST_NO_AUTO_MULTIDECLARATIONS +// MACRO: BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS // TITLE: C++0x auto multideclarators unavailable // DESCRIPTION: The compiler does not support C++0x declarations of series of variables with automatically deduced type -namespace boost_no_auto_multideclarations { +namespace boost_no_cxx11_auto_multideclarations { void check_f(int& x, int*& y) { diff --git a/test/boost_no_char16_t.ipp b/test/boost_no_char16_t.ipp index 27d49c62..8e7fbae1 100644 --- a/test/boost_no_char16_t.ipp +++ b/test/boost_no_char16_t.ipp @@ -7,11 +7,11 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_CHAR16_T +// MACRO: BOOST_NO_CXX11_CHAR16_T // TITLE: C++0x char16_t unavailable // DESCRIPTION: The compiler does not support C++0x char16_t -namespace boost_no_char16_t { +namespace boost_no_cxx11_char16_t { // Microsoft VC++ 2010, and possibly other compilers, provides // a typedef for char16_t rather than a new type. We want that diff --git a/test/boost_no_char32_t.ipp b/test/boost_no_char32_t.ipp index 5dfcd15d..062215c9 100644 --- a/test/boost_no_char32_t.ipp +++ b/test/boost_no_char32_t.ipp @@ -6,11 +6,11 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_CHAR32_T +// MACRO: BOOST_NO_CXX11_CHAR32_T // TITLE: C++0x char32_t unavailable // DESCRIPTION: The compiler does not support C++0x char32_t -namespace boost_no_char32_t { +namespace boost_no_cxx11_char32_t { // Microsoft VC++ 2010, and possibly other compilers, provides // a typedef for char32_t rather than a new type. We want that diff --git a/test/boost_no_constexpr.ipp b/test/boost_no_constexpr.ipp index bc0ad7cc..82de2e2d 100644 --- a/test/boost_no_constexpr.ipp +++ b/test/boost_no_constexpr.ipp @@ -6,11 +6,11 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_CONSTEXPR +// MACRO: BOOST_NO_CXX11_CONSTEXPR // TITLE: C++0x constexpr unavailable // DESCRIPTION: The compiler does not support C++0x constexpr -namespace boost_no_constexpr { +namespace boost_no_cxx11_constexpr { void quiet_warning(int){} diff --git a/test/boost_no_limits_lowest.ipp b/test/boost_no_cxx11_numeric_limits.ipp similarity index 87% rename from test/boost_no_limits_lowest.ipp rename to test/boost_no_cxx11_numeric_limits.ipp index ae09aa72..29b1fc84 100644 --- a/test/boost_no_limits_lowest.ipp +++ b/test/boost_no_cxx11_numeric_limits.ipp @@ -5,13 +5,13 @@ // See http://www.boost.org/libs/config for most recent version. -// MACRO: BOOST_NO_NUMERIC_LIMITS_LOWEST +// MACRO: BOOST_NO_CXX11_NUMERIC_LIMITS // TITLE: static function lowest() in numeric_limits class // DESCRIPTION: static function numeric_limits::lowest() are not available for use. #include -namespace boost_no_numeric_limits_lowest{ +namespace boost_no_cxx11_numeric_limits{ int f() { diff --git a/test/boost_no_decltype.ipp b/test/boost_no_decltype.ipp index e67f55af..d361d201 100644 --- a/test/boost_no_decltype.ipp +++ b/test/boost_no_decltype.ipp @@ -7,11 +7,11 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_DECLTYPE +// MACRO: BOOST_NO_CXX11_DECLTYPE // TITLE: C++0x decltype unavailable // DESCRIPTION: The compiler does not support C++0x decltype -namespace boost_no_decltype { +namespace boost_no_cxx11_decltype { void quiet_warning(int){} diff --git a/test/boost_no_decltype_n3276.ipp b/test/boost_no_decltype_n3276.ipp index f0c3688b..9173bb38 100644 --- a/test/boost_no_decltype_n3276.ipp +++ b/test/boost_no_decltype_n3276.ipp @@ -7,14 +7,14 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_DECLTYPE_N3276 +// MACRO: BOOST_NO_CXX11_DECLTYPE_N3276 // TITLE: C++0x decltype v1.1 unavailable // DESCRIPTION: The compiler does not support extensions to C++0x // decltype as described in N3276 and accepted in Madrid, // March 2011: // -namespace boost_no_decltype_n3276 { +namespace boost_no_cxx11_decltype_n3276 { // A simplified result_of implementation. // that uses decltype. diff --git a/test/boost_no_defaulted_functions.ipp b/test/boost_no_defaulted_functions.ipp index fcf02fd0..5c4c7d02 100644 --- a/test/boost_no_defaulted_functions.ipp +++ b/test/boost_no_defaulted_functions.ipp @@ -6,7 +6,7 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_DEFAULTED_FUNCTIONS +// MACRO: BOOST_NO_CXX11_DEFAULTED_FUNCTIONS // TITLE: C++0x defaulted functions unavailable // DESCRIPTION: The compiler does not support C++0x defaulted functions @@ -14,7 +14,7 @@ # error Defaulted functions are not supported in non-C++0x mode #endif -namespace boost_no_defaulted_functions { +namespace boost_no_cxx11_defaulted_functions { struct foo { foo() = default; diff --git a/test/boost_no_deleted_functions.ipp b/test/boost_no_deleted_functions.ipp index 00397dff..4d3f0a90 100644 --- a/test/boost_no_deleted_functions.ipp +++ b/test/boost_no_deleted_functions.ipp @@ -6,7 +6,7 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_DELETED_FUNCTIONS +// MACRO: BOOST_NO_CXX11_DELETED_FUNCTIONS // TITLE: C++0x =delete functions unavailable // DESCRIPTION: The compiler does not support C++0x =delete functions @@ -14,7 +14,7 @@ # error Deleted functions are not supported in non-C++0x mode #endif -namespace boost_no_deleted_functions { +namespace boost_no_cxx11_deleted_functions { struct foo { foo() = delete; diff --git a/test/boost_no_explicit_cvt_ops.ipp b/test/boost_no_explicit_cvt_ops.ipp index c0d68c45..8b187c0f 100644 --- a/test/boost_no_explicit_cvt_ops.ipp +++ b/test/boost_no_explicit_cvt_ops.ipp @@ -6,7 +6,7 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_EXPLICIT_CONVERSION_OPERATORS +// MACRO: BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS // TITLE: C++0x explicit conversion operators unavailable // DESCRIPTION: The compiler does not support C++0x explicit conversion operators @@ -14,7 +14,7 @@ # error This feature is not available in non-C++0x mode #endif -namespace boost_no_explicit_conversion_operators { +namespace boost_no_cxx11_explicit_conversion_operators { void quiet_warning(int){} diff --git a/test/boost_no_extern_template.ipp b/test/boost_no_extern_template.ipp index 0965470b..c5e2ca09 100644 --- a/test/boost_no_extern_template.ipp +++ b/test/boost_no_extern_template.ipp @@ -6,11 +6,11 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_EXTERN_TEMPLATE +// MACRO: BOOST_NO_CXX11_EXTERN_TEMPLATE // TITLE: C++0x extern template unavailable // DESCRIPTION: The compiler does not support C++0x extern template -namespace boost_no_extern_template { +namespace boost_no_cxx11_extern_template { template void f(T const* p, U const* q) { diff --git a/test/boost_no_function_template_default_args.ipp b/test/boost_no_function_template_default_args.ipp index 686d44ce..cb0c7500 100644 --- a/test/boost_no_function_template_default_args.ipp +++ b/test/boost_no_function_template_default_args.ipp @@ -5,11 +5,11 @@ // See http://www.boost.org/libs/config for the most recent version. -// MACRO: BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +// MACRO: BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS // TITLE: Default template arguments for function templates // DESCRIPTION: Default template arguments for function templates are not supported. -namespace boost_no_function_template_default_args +namespace boost_no_cxx11_function_template_default_args { template diff --git a/test/boost_no_lambdas.ipp b/test/boost_no_lambdas.ipp index 3f6ae2b0..689f90b6 100644 --- a/test/boost_no_lambdas.ipp +++ b/test/boost_no_lambdas.ipp @@ -6,7 +6,7 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_LAMBDAS +// MACRO: BOOST_NO_CXX11_LAMBDAS // TITLE: C++0x lambda feature unavailable // DESCRIPTION: The compiler does not support the C++0x lambda feature @@ -14,7 +14,7 @@ # error This feature is not available in non-C++0x mode #endif -namespace boost_no_lambdas { +namespace boost_no_cxx11_lambdas { int test() { diff --git a/test/boost_no_noexcept.ipp b/test/boost_no_noexcept.ipp index f041ef41..878658f1 100644 --- a/test/boost_no_noexcept.ipp +++ b/test/boost_no_noexcept.ipp @@ -5,11 +5,11 @@ // See http://www.boost.org/libs/config for most recent version. -// MACRO: BOOST_NO_NOEXCEPT +// MACRO: BOOST_NO_CXX11_NOEXCEPT // TITLE: C++0x noexcept unavailable // DESCRIPTION: The compiler does not support C++0x noexcept -namespace boost_no_noexcept { +namespace boost_no_cxx11_noexcept { void quiet_warning(bool){} diff --git a/test/boost_no_nullptr.ipp b/test/boost_no_nullptr.ipp index dd06f7fd..5fc12fb6 100644 --- a/test/boost_no_nullptr.ipp +++ b/test/boost_no_nullptr.ipp @@ -6,11 +6,11 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_NULLPTR +// MACRO: BOOST_NO_CXX11_NULLPTR // TITLE: C++0x nullptr feature unavailable // DESCRIPTION: The compiler does not support the C++0x nullptr feature -namespace boost_no_nullptr { +namespace boost_no_cxx11_nullptr { void quiet_warning(const int*){} diff --git a/test/boost_no_range_based_for.ipp b/test/boost_no_range_based_for.ipp new file mode 100644 index 00000000..15468ec4 --- /dev/null +++ b/test/boost_no_range_based_for.ipp @@ -0,0 +1,23 @@ +// Copyright Beman Dawes 2012 + +// Distributed under the Boost Software License, Version 1.0. +// See http://www.boost.org/LICENSE_1_0.txt + +// See http://www.boost.org/libs/config for more information. + +// MACRO: BOOST_NO_CXX11_RANGE_BASED_FOR +// TITLE: C++11 ranged-based for statement unavailable +// DESCRIPTION: The compiler does not support the C++11 range-based for statement + +namespace boost_no_cxx11_range_based_for { + +int test() +{ + // example from 6.5.4 The range-based for statement [stmt.ranged] + int array[5] = { 1, 2, 3, 4, 5 }; + for (int& x : array) + x *= 2; + return 0; +} + +} diff --git a/test/boost_no_raw_literals.ipp b/test/boost_no_raw_literals.ipp index 3362db30..c3ead77b 100644 --- a/test/boost_no_raw_literals.ipp +++ b/test/boost_no_raw_literals.ipp @@ -6,11 +6,11 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_RAW_LITERALS +// MACRO: BOOST_NO_CXX11_RAW_LITERALS // TITLE: C++0x raw string literals unavailable // DESCRIPTION: The compiler does not support C++0x raw string literals -namespace boost_no_raw_literals { +namespace boost_no_cxx11_raw_literals { void quiet_warning(const char*){} void quiet_warning(const wchar_t*){} diff --git a/test/boost_no_rvalue_references.ipp b/test/boost_no_rvalue_references.ipp index 4540bb64..219a7173 100644 --- a/test/boost_no_rvalue_references.ipp +++ b/test/boost_no_rvalue_references.ipp @@ -5,11 +5,11 @@ // See http://www.boost.org/libs/config for most recent version. -// MACRO: BOOST_NO_RVALUE_REFERENCES +// MACRO: BOOST_NO_CXX11_RVALUE_REFERENCES // TITLE: C++0x rvalue references unavailable // DESCRIPTION: The compiler does not support C++0x rvalue references -namespace boost_no_rvalue_references { +namespace boost_no_cxx11_rvalue_references { void g(int&) {} diff --git a/test/boost_no_scoped_enums.ipp b/test/boost_no_scoped_enums.ipp index 8b6a4a66..f1d9dc56 100644 --- a/test/boost_no_scoped_enums.ipp +++ b/test/boost_no_scoped_enums.ipp @@ -6,11 +6,11 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_SCOPED_ENUMS +// MACRO: BOOST_NO_CXX11_SCOPED_ENUMS // TITLE: C++0x scoped enum unavailable // DESCRIPTION: The compiler does not support C++0x scoped enum -namespace boost_no_scoped_enums { +namespace boost_no_cxx11_scoped_enums { int test() { diff --git a/test/boost_no_static_assert.ipp b/test/boost_no_static_assert.ipp index 858d91bc..38ca2967 100644 --- a/test/boost_no_static_assert.ipp +++ b/test/boost_no_static_assert.ipp @@ -5,11 +5,11 @@ // See http://www.boost.org/libs/config for most recent version. -// MACRO: BOOST_NO_STATIC_ASSERT +// MACRO: BOOST_NO_CXX11_STATIC_ASSERT // TITLE: C++0x static_assert unavailable // DESCRIPTION: The compiler does not support C++0x static assertions -namespace boost_no_static_assert { +namespace boost_no_cxx11_static_assert { int test() { diff --git a/test/boost_no_tem_local_classes.ipp b/test/boost_no_tem_local_classes.ipp index ed5e701d..04e07b87 100644 --- a/test/boost_no_tem_local_classes.ipp +++ b/test/boost_no_tem_local_classes.ipp @@ -5,7 +5,7 @@ // http://www.boost.org/LICENSE_1_0.txt) // Home at http://www.boost.org/libs/config -// MACRO: BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +// MACRO: BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS // TITLE: local classes as template parameters // DESCRIPTION: Local classes cannot be passed as template parameters. @@ -16,7 +16,7 @@ // template parameters but it is intentionally limited to local named classes // because some non C++11 compilers might only support local named classes as // template parameters which is still very useful to program local functors). -namespace boost_no_local_class_template_parameters { +namespace boost_no_cxx11_local_class_template_parameters { template struct a { void use() {} }; template void f(T x) {} diff --git a/test/boost_no_template_aliases.ipp b/test/boost_no_template_aliases.ipp index e420da78..90451e0e 100644 --- a/test/boost_no_template_aliases.ipp +++ b/test/boost_no_template_aliases.ipp @@ -6,11 +6,11 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_TEMPLATE_ALIASES +// MACRO: BOOST_NO_CXX11_TEMPLATE_ALIASES // TITLE: C++0x template_aliases feature unavailable // DESCRIPTION: The compiler does not support the C++0x template_aliases feature -namespace boost_no_template_aliases { +namespace boost_no_cxx11_template_aliases { using PINT = void (*)(int); // using plus C-style type diff --git a/test/boost_no_unicode_literals.ipp b/test/boost_no_unicode_literals.ipp index ec8963ba..1675d205 100644 --- a/test/boost_no_unicode_literals.ipp +++ b/test/boost_no_unicode_literals.ipp @@ -6,11 +6,11 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_UNICODE_LITERALS +// MACRO: BOOST_NO_CXX11_UNICODE_LITERALS // TITLE: C++0x unicode literals unavailable // DESCRIPTION: The compiler does not support C++0x Unicode literals (N2442) -namespace boost_no_unicode_literals { +namespace boost_no_cxx11_unicode_literals { void quiet_warning(const char*){} diff --git a/test/boost_no_unified_init.ipp b/test/boost_no_unified_init.ipp index 1cb2243f..2a09c5f3 100644 --- a/test/boost_no_unified_init.ipp +++ b/test/boost_no_unified_init.ipp @@ -5,13 +5,13 @@ // See http://www.boost.org/libs/config for most recent version. -// MACRO: BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +// MACRO: BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX // TITLE: C++0x unified initialization syntax unavailable // DESCRIPTION: The compiler does not support C++0x unified initialization syntax: see http://en.wikipedia.org/wiki/C%2B%2B0x#Uniform_initialization #include -namespace boost_no_unified_initialization_syntax { +namespace boost_no_cxx11_unified_initialization_syntax { struct BasicStruct { diff --git a/test/boost_no_variadic_macros.ipp b/test/boost_no_variadic_macros.ipp index 7df683b3..50f60a72 100644 --- a/test/boost_no_variadic_macros.ipp +++ b/test/boost_no_variadic_macros.ipp @@ -5,7 +5,7 @@ // See http://www.boost.org/libs/config for most recent version. -// MACRO: BOOST_NO_VARIADIC_MACROS +// MACRO: BOOST_NO_CXX11_VARIADIC_MACROS // TITLE: C++0x variadic macros unavailable // DESCRIPTION: The compiler does not support C++0x variadic macros @@ -47,7 +47,7 @@ #define TEST_VARIADIC_MACRO_MAYBE_STRIP_PARENS_2(x) TEST_VARIADIC_MACRO_APPLY(TEST_VARIADIC_MACRO_MAYBE_STRIP_PARENS_2_I, x) #define TEST_VARIADIC_MACRO_MAYBE_STRIP_PARENS_2_I(...) __VA_ARGS__ -namespace boost_no_variadic_macros { +namespace boost_no_cxx11_variadic_macros { void quiet_warning(int){} diff --git a/test/boost_no_variadic_templates.ipp b/test/boost_no_variadic_templates.ipp index 68af2d71..570e8f2e 100644 --- a/test/boost_no_variadic_templates.ipp +++ b/test/boost_no_variadic_templates.ipp @@ -5,11 +5,11 @@ // See http://www.boost.org/libs/config for most recent version. -// MACRO: BOOST_NO_VARIADIC_TEMPLATES +// MACRO: BOOST_NO_CXX11_VARIADIC_TEMPLATES // TITLE: C++0x variadic templates unavailable // DESCRIPTION: The compiler does not support C++0x variadic templates -namespace boost_no_variadic_templates { +namespace boost_no_cxx11_variadic_templates { template struct tuple {}; diff --git a/test/config_info.cpp b/test/config_info.cpp index 46984132..9e263e52 100644 --- a/test/config_info.cpp +++ b/test/config_info.cpp @@ -982,13 +982,8 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_ADL_BARRIER); PRINT_MACRO(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP); PRINT_MACRO(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS); - PRINT_MACRO(BOOST_NO_AUTO_DECLARATIONS); - PRINT_MACRO(BOOST_NO_AUTO_MULTIDECLARATIONS); PRINT_MACRO(BOOST_NO_AUTO_PTR); - PRINT_MACRO(BOOST_NO_CHAR16_T); - PRINT_MACRO(BOOST_NO_CHAR32_T); PRINT_MACRO(BOOST_NO_COMPLETE_VALUE_INITIALIZATION); - PRINT_MACRO(BOOST_NO_CONSTEXPR); PRINT_MACRO(BOOST_NO_CTYPE_FUNCTIONS); PRINT_MACRO(BOOST_NO_CV_SPECIALIZATIONS); PRINT_MACRO(BOOST_NO_CV_VOID_SPECIALIZATIONS); @@ -996,6 +991,18 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_CWCTYPE); PRINT_MACRO(BOOST_NO_CXX11_ALLOCATOR); PRINT_MACRO(BOOST_NO_CXX11_ATOMIC_SMART_PTR); + PRINT_MACRO(BOOST_NO_CXX11_AUTO_DECLARATIONS); + PRINT_MACRO(BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS); + PRINT_MACRO(BOOST_NO_CXX11_CHAR16_T); + PRINT_MACRO(BOOST_NO_CXX11_CHAR32_T); + PRINT_MACRO(BOOST_NO_CXX11_CONSTEXPR); + PRINT_MACRO(BOOST_NO_CXX11_DECLTYPE); + PRINT_MACRO(BOOST_NO_CXX11_DECLTYPE_N3276); + PRINT_MACRO(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS); + PRINT_MACRO(BOOST_NO_CXX11_DELETED_FUNCTIONS); + PRINT_MACRO(BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS); + PRINT_MACRO(BOOST_NO_CXX11_EXTERN_TEMPLATE); + PRINT_MACRO(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS); PRINT_MACRO(BOOST_NO_CXX11_HDR_ARRAY); PRINT_MACRO(BOOST_NO_CXX11_HDR_CHRONO); PRINT_MACRO(BOOST_NO_CXX11_HDR_CODECVT); @@ -1015,20 +1022,27 @@ 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_LAMBDAS); + PRINT_MACRO(BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS); + PRINT_MACRO(BOOST_NO_CXX11_NOEXCEPT); + PRINT_MACRO(BOOST_NO_CXX11_NULLPTR); + PRINT_MACRO(BOOST_NO_CXX11_RANGE_BASED_FOR); + PRINT_MACRO(BOOST_NO_CXX11_RAW_LITERALS); + PRINT_MACRO(BOOST_NO_CXX11_RVALUE_REFERENCES); + PRINT_MACRO(BOOST_NO_CXX11_SCOPED_ENUMS); PRINT_MACRO(BOOST_NO_CXX11_SMART_PTR); - PRINT_MACRO(BOOST_NO_DECLTYPE); - PRINT_MACRO(BOOST_NO_DECLTYPE_N3276); - PRINT_MACRO(BOOST_NO_DEFAULTED_FUNCTIONS); - PRINT_MACRO(BOOST_NO_DELETED_FUNCTIONS); + PRINT_MACRO(BOOST_NO_CXX11_STATIC_ASSERT); + PRINT_MACRO(BOOST_NO_CXX11_TEMPLATE_ALIASES); + PRINT_MACRO(BOOST_NO_CXX11_UNICODE_LITERALS); + PRINT_MACRO(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX); + PRINT_MACRO(BOOST_NO_CXX11_VARIADIC_MACROS); + PRINT_MACRO(BOOST_NO_CXX11_VARIADIC_TEMPLATES); PRINT_MACRO(BOOST_NO_DEPENDENT_NESTED_DERIVATIONS); PRINT_MACRO(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS); PRINT_MACRO(BOOST_NO_EXCEPTIONS); PRINT_MACRO(BOOST_NO_EXCEPTION_STD_NAMESPACE); - PRINT_MACRO(BOOST_NO_EXPLICIT_CONVERSION_OPERATORS); PRINT_MACRO(BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS); - PRINT_MACRO(BOOST_NO_EXTERN_TEMPLATE); PRINT_MACRO(BOOST_NO_FENV_H); - PRINT_MACRO(BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS); PRINT_MACRO(BOOST_NO_FUNCTION_TEMPLATE_ORDERING); PRINT_MACRO(BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS); PRINT_MACRO(BOOST_NO_INCLASS_MEMBER_INITIALIZATION); @@ -1037,10 +1051,8 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_IOSFWD); PRINT_MACRO(BOOST_NO_IOSTREAM); PRINT_MACRO(BOOST_NO_IS_ABSTRACT); - PRINT_MACRO(BOOST_NO_LAMBDAS); PRINT_MACRO(BOOST_NO_LIMITS); PRINT_MACRO(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS); - PRINT_MACRO(BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS); PRINT_MACRO(BOOST_NO_LONG_LONG); PRINT_MACRO(BOOST_NO_LONG_LONG_NUMERIC_LIMITS); PRINT_MACRO(BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS); @@ -1049,21 +1061,15 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATE_KEYWORD); PRINT_MACRO(BOOST_NO_MS_INT64_NUMERIC_LIMITS); PRINT_MACRO(BOOST_NO_NESTED_FRIENDSHIP); - PRINT_MACRO(BOOST_NO_NOEXCEPT); - PRINT_MACRO(BOOST_NO_NULLPTR); - PRINT_MACRO(BOOST_NO_NUMERIC_LIMITS_LOWEST); + PRINT_MACRO(BOOST_NO_CXX11_NUMERIC_LIMITS); PRINT_MACRO(BOOST_NO_OPERATORS_IN_NAMESPACE); PRINT_MACRO(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS); PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_CONST); PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS); PRINT_MACRO(BOOST_NO_PRIVATE_IN_AGGREGATE); - PRINT_MACRO(BOOST_NO_RAW_LITERALS); PRINT_MACRO(BOOST_NO_RTTI); - PRINT_MACRO(BOOST_NO_RVALUE_REFERENCES); - PRINT_MACRO(BOOST_NO_SCOPED_ENUMS); PRINT_MACRO(BOOST_NO_SFINAE); PRINT_MACRO(BOOST_NO_SFINAE_EXPR); - PRINT_MACRO(BOOST_NO_STATIC_ASSERT); PRINT_MACRO(BOOST_NO_STDC_NAMESPACE); PRINT_MACRO(BOOST_NO_STD_ALLOCATOR); PRINT_MACRO(BOOST_NO_STD_DISTANCE); @@ -1082,19 +1088,14 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_SWPRINTF); PRINT_MACRO(BOOST_NO_TEMPLATED_IOSTREAMS); PRINT_MACRO(BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS); - PRINT_MACRO(BOOST_NO_TEMPLATE_ALIASES); PRINT_MACRO(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION); PRINT_MACRO(BOOST_NO_TEMPLATE_TEMPLATES); PRINT_MACRO(BOOST_NO_TWO_PHASE_NAME_LOOKUP); PRINT_MACRO(BOOST_NO_TYPEID); PRINT_MACRO(BOOST_NO_TYPENAME_WITH_CTOR); - PRINT_MACRO(BOOST_NO_UNICODE_LITERALS); - PRINT_MACRO(BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX); PRINT_MACRO(BOOST_NO_UNREACHABLE_RETURN_DETECTION); PRINT_MACRO(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE); PRINT_MACRO(BOOST_NO_USING_TEMPLATE); - PRINT_MACRO(BOOST_NO_VARIADIC_MACROS); - PRINT_MACRO(BOOST_NO_VARIADIC_TEMPLATES); PRINT_MACRO(BOOST_NO_VOID_RETURNS); @@ -1112,6 +1113,10 @@ void print_boost_macros() + + + + // END GENERATED BLOCK diff --git a/test/config_test.cpp b/test/config_test.cpp index 63dd1f70..b66a895f 100644 --- a/test/config_test.cpp +++ b/test/config_test.cpp @@ -1,4 +1,4 @@ -// This file was automatically generated on Sun Apr 22 11:55:04 2012 +// This file was automatically generated on Tue Jul 10 14:57:46 2012 // by libs/config/tools/generate.cpp // Copyright John Maddock 2002-4. // Use, modification and distribution are subject to the @@ -37,15 +37,15 @@ namespace boost_no_argument_dependent_lookup = empty_boost; #else namespace boost_no_array_type_specializations = empty_boost; #endif -#ifndef BOOST_NO_AUTO_DECLARATIONS +#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 -#ifndef BOOST_NO_AUTO_MULTIDECLARATIONS +#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 #ifndef BOOST_NO_AUTO_PTR #include "boost_no_auto_ptr.ipp" @@ -57,25 +57,25 @@ namespace boost_no_auto_ptr = empty_boost; #else namespace boost_bcb_partial_specialization_bug = empty_boost; #endif -#ifndef BOOST_NO_CHAR16_T +#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 -#ifndef BOOST_NO_CHAR32_T +#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 #ifndef BOOST_NO_COMPLETE_VALUE_INITIALIZATION #include "boost_no_com_value_init.ipp" #else namespace boost_no_complete_value_initialization = empty_boost; #endif -#ifndef BOOST_NO_CONSTEXPR +#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 #ifndef BOOST_NO_CTYPE_FUNCTIONS #include "boost_no_ctype_functions.ipp" @@ -212,30 +212,30 @@ namespace boost_no_cxx11_smart_ptr = empty_boost; #else namespace boost_no_cxx11_hdr_functional = empty_boost; #endif -#ifndef BOOST_NO_DECLTYPE +#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 -#ifndef BOOST_NO_DECLTYPE_N3276 +#ifndef BOOST_NO_CXX11_DECLTYPE_N3276 #include "boost_no_decltype_n3276.ipp" #else -namespace boost_no_decltype_n3276 = empty_boost; +namespace boost_no_cxx11_decltype_n3276 = empty_boost; #endif #ifndef BOOST_DEDUCED_TYPENAME #include "boost_no_ded_typename.ipp" #else namespace boost_deduced_typename = empty_boost; #endif -#ifndef BOOST_NO_DEFAULTED_FUNCTIONS +#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 -#ifndef BOOST_NO_DELETED_FUNCTIONS +#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 #ifndef BOOST_NO_DEPENDENT_NESTED_DERIVATIONS #include "boost_no_dep_nested_class.ipp" @@ -257,30 +257,30 @@ namespace boost_no_exceptions = empty_boost; #else namespace boost_no_exception_std_namespace = empty_boost; #endif -#ifndef BOOST_NO_EXPLICIT_CONVERSION_OPERATORS +#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 #ifndef BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS #include "boost_no_exp_func_tem_arg.ipp" #else namespace boost_no_explicit_function_template_arguments = empty_boost; #endif -#ifndef BOOST_NO_EXTERN_TEMPLATE +#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 #ifndef BOOST_NO_FENV_H #include "boost_no_fenv_h.ipp" #else namespace boost_no_fenv_h = empty_boost; #endif -#ifndef BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +#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 #ifndef BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS #include "boost_no_function_type_spec.ipp" @@ -327,10 +327,10 @@ namespace boost_no_is_abstract = empty_boost; #else namespace boost_no_templated_iterator_constructors = empty_boost; #endif -#ifndef BOOST_NO_LAMBDAS +#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 #ifndef BOOST_NO_LIMITS #include "boost_no_limits.ipp" @@ -342,10 +342,10 @@ namespace boost_no_limits = empty_boost; #else namespace boost_no_limits_compile_time_constants = empty_boost; #endif -#ifndef BOOST_NO_NUMERIC_LIMITS_LOWEST -#include "boost_no_limits_lowest.ipp" +#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS +#include "boost_no_cxx11_numeric_limits.ipp" #else -namespace boost_no_numeric_limits_lowest = empty_boost; +namespace boost_no_cxx11_numeric_limits = empty_boost; #endif #ifndef BOOST_NO_LONG_LONG_NUMERIC_LIMITS #include "boost_no_ll_limits.ipp" @@ -387,15 +387,15 @@ namespace boost_no_pointer_to_member_template_parameters = empty_boost; #else namespace boost_no_nested_friendship = empty_boost; #endif -#ifndef BOOST_NO_NOEXCEPT +#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 -#ifndef BOOST_NO_NULLPTR +#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 #ifndef BOOST_NO_OPERATORS_IN_NAMESPACE #include "boost_no_ops_in_namespace.ipp" @@ -422,10 +422,15 @@ namespace boost_no_private_in_aggregate = empty_boost; #else namespace boost_no_pointer_to_member_const = empty_boost; #endif -#ifndef BOOST_NO_RAW_LITERALS +#ifndef BOOST_NO_CXX11_RANGE_BASED_FOR +#include "boost_no_range_based_for.ipp" +#else +namespace boost_no_cxx11_range_based_for = empty_boost; +#endif +#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 #ifndef BOOST_NO_UNREACHABLE_RETURN_DETECTION #include "boost_no_ret_det.ipp" @@ -437,15 +442,15 @@ namespace boost_no_unreachable_return_detection = empty_boost; #else namespace boost_no_rtti = empty_boost; #endif -#ifndef BOOST_NO_RVALUE_REFERENCES +#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 -#ifndef BOOST_NO_SCOPED_ENUMS +#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 #ifndef BOOST_NO_SFINAE #include "boost_no_sfinae.ipp" @@ -462,10 +467,10 @@ namespace boost_no_sfinae_expr = empty_boost; #else namespace boost_no_stringstream = empty_boost; #endif -#ifndef BOOST_NO_STATIC_ASSERT +#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 #ifndef BOOST_NO_STDC_NAMESPACE #include "boost_no_stdc_namespace.ipp" @@ -542,10 +547,10 @@ namespace boost_no_std_wstring = empty_boost; #else namespace boost_no_swprintf = empty_boost; #endif -#ifndef BOOST_NO_TEMPLATE_ALIASES +#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 #ifndef BOOST_NO_TEMPLATED_IOSTREAMS #include "boost_no_template_streams.ipp" @@ -557,10 +562,10 @@ namespace boost_no_templated_iostreams = empty_boost; #else namespace boost_no_template_templates = empty_boost; #endif -#ifndef BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +#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 #ifndef BOOST_NO_TWO_PHASE_NAME_LOOKUP #include "boost_no_two_phase_lookup.ipp" @@ -577,15 +582,15 @@ namespace boost_no_typeid = empty_boost; #else namespace boost_no_typename_with_ctor = empty_boost; #endif -#ifndef BOOST_NO_UNICODE_LITERALS +#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 -#ifndef BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#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 #ifndef BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL #include "boost_no_using_breaks_adl.ipp" @@ -602,15 +607,15 @@ namespace boost_no_using_declaration_overloads_from_typename_base = empty_boost; #else namespace boost_no_using_template = empty_boost; #endif -#ifndef BOOST_NO_VARIADIC_MACROS +#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 -#ifndef BOOST_NO_VARIADIC_TEMPLATES +#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 #ifndef BOOST_NO_VOID_RETURNS #include "boost_no_void_returns.ipp" @@ -1151,14 +1156,14 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_auto_declarations::test()) + if(0 != boost_no_cxx11_auto_declarations::test()) { - std::cerr << "Failed test for BOOST_NO_AUTO_DECLARATIONS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_AUTO_DECLARATIONS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_auto_multideclarations::test()) + if(0 != boost_no_cxx11_auto_multideclarations::test()) { - std::cerr << "Failed test for BOOST_NO_AUTO_MULTIDECLARATIONS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_auto_ptr::test()) @@ -1171,14 +1176,14 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_BCB_PARTIAL_SPECIALIZATION_BUG at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_char16_t::test()) + if(0 != boost_no_cxx11_char16_t::test()) { - std::cerr << "Failed test for BOOST_NO_CHAR16_T at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_CHAR16_T at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_char32_t::test()) + if(0 != boost_no_cxx11_char32_t::test()) { - std::cerr << "Failed test for BOOST_NO_CHAR32_T at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_CHAR32_T at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_complete_value_initialization::test()) @@ -1186,9 +1191,9 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_COMPLETE_VALUE_INITIALIZATION at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_constexpr::test()) + if(0 != boost_no_cxx11_constexpr::test()) { - std::cerr << "Failed test for BOOST_NO_CONSTEXPR at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_CONSTEXPR at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_ctype_functions::test()) @@ -1326,14 +1331,14 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_CXX11_HDR_FUNCTIONAL at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_decltype::test()) + if(0 != boost_no_cxx11_decltype::test()) { - std::cerr << "Failed test for BOOST_NO_DECLTYPE at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_DECLTYPE at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_decltype_n3276::test()) + if(0 != boost_no_cxx11_decltype_n3276::test()) { - std::cerr << "Failed test for BOOST_NO_DECLTYPE_N3276 at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_DECLTYPE_N3276 at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_deduced_typename::test()) @@ -1341,14 +1346,14 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_DEDUCED_TYPENAME at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_defaulted_functions::test()) + if(0 != boost_no_cxx11_defaulted_functions::test()) { - std::cerr << "Failed test for BOOST_NO_DEFAULTED_FUNCTIONS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_DEFAULTED_FUNCTIONS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_deleted_functions::test()) + if(0 != boost_no_cxx11_deleted_functions::test()) { - std::cerr << "Failed test for BOOST_NO_DELETED_FUNCTIONS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_DELETED_FUNCTIONS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_dependent_nested_derivations::test()) @@ -1371,9 +1376,9 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_EXCEPTION_STD_NAMESPACE at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_explicit_conversion_operators::test()) + if(0 != boost_no_cxx11_explicit_conversion_operators::test()) { - std::cerr << "Failed test for BOOST_NO_EXPLICIT_CONVERSION_OPERATORS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_explicit_function_template_arguments::test()) @@ -1381,9 +1386,9 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_extern_template::test()) + if(0 != boost_no_cxx11_extern_template::test()) { - std::cerr << "Failed test for BOOST_NO_EXTERN_TEMPLATE at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_EXTERN_TEMPLATE at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_fenv_h::test()) @@ -1391,9 +1396,9 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_FENV_H at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_function_template_default_args::test()) + if(0 != boost_no_cxx11_function_template_default_args::test()) { - std::cerr << "Failed test for BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_function_type_specializations::test()) @@ -1441,9 +1446,9 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_lambdas::test()) + if(0 != boost_no_cxx11_lambdas::test()) { - std::cerr << "Failed test for BOOST_NO_LAMBDAS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_LAMBDAS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_limits::test()) @@ -1456,9 +1461,9 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_numeric_limits_lowest::test()) + if(0 != boost_no_cxx11_numeric_limits::test()) { - std::cerr << "Failed test for BOOST_NO_NUMERIC_LIMITS_LOWEST at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_NUMERIC_LIMITS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_long_long_numeric_limits::test()) @@ -1501,14 +1506,14 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_NESTED_FRIENDSHIP at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_noexcept::test()) + if(0 != boost_no_cxx11_noexcept::test()) { - std::cerr << "Failed test for BOOST_NO_NOEXCEPT at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_NOEXCEPT at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_nullptr::test()) + if(0 != boost_no_cxx11_nullptr::test()) { - std::cerr << "Failed test for BOOST_NO_NULLPTR at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_NULLPTR at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_operators_in_namespace::test()) @@ -1536,9 +1541,14 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_POINTER_TO_MEMBER_CONST at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_raw_literals::test()) + if(0 != boost_no_cxx11_range_based_for::test()) { - std::cerr << "Failed test for BOOST_NO_RAW_LITERALS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_RANGE_BASED_FOR at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_raw_literals::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_RAW_LITERALS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_unreachable_return_detection::test()) @@ -1551,14 +1561,14 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_RTTI at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_rvalue_references::test()) + if(0 != boost_no_cxx11_rvalue_references::test()) { - std::cerr << "Failed test for BOOST_NO_RVALUE_REFERENCES at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_RVALUE_REFERENCES at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_scoped_enums::test()) + if(0 != boost_no_cxx11_scoped_enums::test()) { - std::cerr << "Failed test for BOOST_NO_SCOPED_ENUMS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_SCOPED_ENUMS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_sfinae::test()) @@ -1576,9 +1586,9 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_STRINGSTREAM at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_static_assert::test()) + if(0 != boost_no_cxx11_static_assert::test()) { - std::cerr << "Failed test for BOOST_NO_STATIC_ASSERT at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_STATIC_ASSERT at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_stdc_namespace::test()) @@ -1656,9 +1666,9 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_SWPRINTF at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_template_aliases::test()) + if(0 != boost_no_cxx11_template_aliases::test()) { - std::cerr << "Failed test for BOOST_NO_TEMPLATE_ALIASES at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_TEMPLATE_ALIASES at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_templated_iostreams::test()) @@ -1671,9 +1681,9 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_TEMPLATE_TEMPLATES at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_local_class_template_parameters::test()) + if(0 != boost_no_cxx11_local_class_template_parameters::test()) { - std::cerr << "Failed test for BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_two_phase_name_lookup::test()) @@ -1691,14 +1701,14 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_TYPENAME_WITH_CTOR at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_unicode_literals::test()) + if(0 != boost_no_cxx11_unicode_literals::test()) { - std::cerr << "Failed test for BOOST_NO_UNICODE_LITERALS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_UNICODE_LITERALS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_unified_initialization_syntax::test()) + if(0 != boost_no_cxx11_unified_initialization_syntax::test()) { - std::cerr << "Failed test for BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_function_scope_using_declaration_breaks_adl::test()) @@ -1716,14 +1726,14 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_USING_TEMPLATE at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_variadic_macros::test()) + if(0 != boost_no_cxx11_variadic_macros::test()) { - std::cerr << "Failed test for BOOST_NO_VARIADIC_MACROS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_VARIADIC_MACROS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_variadic_templates::test()) + if(0 != boost_no_cxx11_variadic_templates::test()) { - std::cerr << "Failed test for BOOST_NO_VARIADIC_TEMPLATES at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_VARIADIC_TEMPLATES at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_void_returns::test()) diff --git a/test/limits_test.cpp b/test/limits_test.cpp index 163c684e..3a4cd3a6 100644 --- a/test/limits_test.cpp +++ b/test/limits_test.cpp @@ -154,9 +154,12 @@ void test_float_limits(const T &, const char * msg) // If one of these fail, your compiler may be optimizing incorrectly, // or the standard library is incorrectly configured. BOOST_CHECK(! (qnan == 42)); - BOOST_CHECK(! (qnan == qnan)); BOOST_CHECK(qnan != 42); - BOOST_CHECK(qnan != qnan); + if(lim::is_iec559) + { + BOOST_CHECK(! (qnan == qnan)); + BOOST_CHECK(qnan != qnan); + } // The following tests may cause arithmetic traps. // BOOST_CHECK(! (qnan < 42)); diff --git a/test/link/link_test.hpp b/test/link/link_test.hpp index 8d6333bb..c95d963a 100644 --- a/test/link/link_test.hpp +++ b/test/link/link_test.hpp @@ -73,7 +73,7 @@ bool BOOST_CONFIG_DECL check_options( # include #endif -#ifndef BOOST_NO_EXTERN_TEMPLATE +#ifndef BOOST_NO_CXX11_EXTERN_TEMPLATE template T test_free_proc(T v) @@ -101,7 +101,7 @@ extern template BOOST_SYMBOL_IMPORT int test_free_proc(int); extern template BOOST_SYMBOL_IMPORT int tester::test(); #endif -#endif // BOOST_NO_EXTERN_TEMPLATE +#endif // BOOST_NO_CXX11_EXTERN_TEMPLATE #endif // BOOST_LINK_TEST_HPP diff --git a/test/link/main.cpp b/test/link/main.cpp index 3926684a..7233560e 100644 --- a/test/link/main.cpp +++ b/test/link/main.cpp @@ -9,7 +9,7 @@ int main() { -#ifndef BOOST_NO_EXTERN_TEMPLATE +#ifndef BOOST_NO_CXX11_EXTERN_TEMPLATE test_free_proc(0); tester::test(); #endif diff --git a/test/no_auto_declarations_fail.cpp b/test/no_auto_declarations_fail.cpp index a8ba1e64..712bb2b5 100644 --- a/test/no_auto_declarations_fail.cpp +++ b/test/no_auto_declarations_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_AUTO_DECLARATIONS +// Test file for macro BOOST_NO_CXX11_AUTO_DECLARATIONS // This file should not compile, if it does then -// BOOST_NO_AUTO_DECLARATIONS should not be defined. +// BOOST_NO_CXX11_AUTO_DECLARATIONS should not be defined. // See file boost_no_auto_declarations.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_AUTO_DECLARATIONS +#ifdef BOOST_NO_CXX11_AUTO_DECLARATIONS #include "boost_no_auto_declarations.ipp" #else #error "this file should not compile" diff --git a/test/no_auto_declarations_pass.cpp b/test/no_auto_declarations_pass.cpp index 2b479013..5f7099fd 100644 --- a/test/no_auto_declarations_pass.cpp +++ b/test/no_auto_declarations_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_AUTO_DECLARATIONS +// Test file for macro BOOST_NO_CXX11_AUTO_DECLARATIONS // This file should compile, if it does not then -// BOOST_NO_AUTO_DECLARATIONS should be defined. +// BOOST_NO_CXX11_AUTO_DECLARATIONS should be defined. // See file boost_no_auto_declarations.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_AUTO_DECLARATIONS +#ifndef BOOST_NO_CXX11_AUTO_DECLARATIONS #include "boost_no_auto_declarations.ipp" #else namespace boost_no_auto_declarations = empty_boost; diff --git a/test/no_auto_multidecl_fail.cpp b/test/no_auto_multidecl_fail.cpp index 3d028b40..c564e973 100644 --- a/test/no_auto_multidecl_fail.cpp +++ b/test/no_auto_multidecl_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_AUTO_MULTIDECLARATIONS +// Test file for macro BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS // This file should not compile, if it does then -// BOOST_NO_AUTO_MULTIDECLARATIONS should not be defined. +// BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS should not be defined. // See file boost_no_auto_multidecl.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_AUTO_MULTIDECLARATIONS +#ifdef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS #include "boost_no_auto_multidecl.ipp" #else #error "this file should not compile" diff --git a/test/no_auto_multidecl_pass.cpp b/test/no_auto_multidecl_pass.cpp index d845232f..47d679d3 100644 --- a/test/no_auto_multidecl_pass.cpp +++ b/test/no_auto_multidecl_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_AUTO_MULTIDECLARATIONS +// Test file for macro BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS // This file should compile, if it does not then -// BOOST_NO_AUTO_MULTIDECLARATIONS should be defined. +// BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS should be defined. // See file boost_no_auto_multidecl.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_AUTO_MULTIDECLARATIONS +#ifndef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS #include "boost_no_auto_multidecl.ipp" #else namespace boost_no_auto_multideclarations = empty_boost; diff --git a/test/no_char16_t_fail.cpp b/test/no_char16_t_fail.cpp index 38e1bb5c..adc00260 100644 --- a/test/no_char16_t_fail.cpp +++ b/test/no_char16_t_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_CHAR16_T +// Test file for macro BOOST_NO_CXX11_CHAR16_T // This file should not compile, if it does then -// BOOST_NO_CHAR16_T should not be defined. +// BOOST_NO_CXX11_CHAR16_T should not be defined. // See file boost_no_char16_t.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_CHAR16_T +#ifdef BOOST_NO_CXX11_CHAR16_T #include "boost_no_char16_t.ipp" #else #error "this file should not compile" diff --git a/test/no_char16_t_pass.cpp b/test/no_char16_t_pass.cpp index 45df2c8d..98735adc 100644 --- a/test/no_char16_t_pass.cpp +++ b/test/no_char16_t_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_CHAR16_T +// Test file for macro BOOST_NO_CXX11_CHAR16_T // This file should compile, if it does not then -// BOOST_NO_CHAR16_T should be defined. +// BOOST_NO_CXX11_CHAR16_T should be defined. // See file boost_no_char16_t.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_CHAR16_T +#ifndef BOOST_NO_CXX11_CHAR16_T #include "boost_no_char16_t.ipp" #else namespace boost_no_char16_t = empty_boost; diff --git a/test/no_char32_t_fail.cpp b/test/no_char32_t_fail.cpp index 53124a4d..4d3e8eb4 100644 --- a/test/no_char32_t_fail.cpp +++ b/test/no_char32_t_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_CHAR32_T +// Test file for macro BOOST_NO_CXX11_CHAR32_T // This file should not compile, if it does then -// BOOST_NO_CHAR32_T should not be defined. +// BOOST_NO_CXX11_CHAR32_T should not be defined. // See file boost_no_char32_t.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_CHAR32_T +#ifdef BOOST_NO_CXX11_CHAR32_T #include "boost_no_char32_t.ipp" #else #error "this file should not compile" diff --git a/test/no_char32_t_pass.cpp b/test/no_char32_t_pass.cpp index 0abc220b..10dccbe6 100644 --- a/test/no_char32_t_pass.cpp +++ b/test/no_char32_t_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_CHAR32_T +// Test file for macro BOOST_NO_CXX11_CHAR32_T // This file should compile, if it does not then -// BOOST_NO_CHAR32_T should be defined. +// BOOST_NO_CXX11_CHAR32_T should be defined. // See file boost_no_char32_t.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_CHAR32_T +#ifndef BOOST_NO_CXX11_CHAR32_T #include "boost_no_char32_t.ipp" #else namespace boost_no_char32_t = empty_boost; diff --git a/test/no_constexpr_fail.cpp b/test/no_constexpr_fail.cpp index 9406f784..1d39ea40 100644 --- a/test/no_constexpr_fail.cpp +++ b/test/no_constexpr_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_CONSTEXPR +// Test file for macro BOOST_NO_CXX11_CONSTEXPR // This file should not compile, if it does then -// BOOST_NO_CONSTEXPR should not be defined. +// BOOST_NO_CXX11_CONSTEXPR should not be defined. // See file boost_no_constexpr.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_CONSTEXPR +#ifdef BOOST_NO_CXX11_CONSTEXPR #include "boost_no_constexpr.ipp" #else #error "this file should not compile" diff --git a/test/no_constexpr_pass.cpp b/test/no_constexpr_pass.cpp index 2c86f4e1..b5be562c 100644 --- a/test/no_constexpr_pass.cpp +++ b/test/no_constexpr_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_CONSTEXPR +// Test file for macro BOOST_NO_CXX11_CONSTEXPR // This file should compile, if it does not then -// BOOST_NO_CONSTEXPR should be defined. +// BOOST_NO_CXX11_CONSTEXPR should be defined. // See file boost_no_constexpr.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_CONSTEXPR +#ifndef BOOST_NO_CXX11_CONSTEXPR #include "boost_no_constexpr.ipp" #else namespace boost_no_constexpr = empty_boost; diff --git a/test/no_limits_lowest_fail.cpp b/test/no_cxx11_numeric_limits_fail.cpp similarity index 78% rename from test/no_limits_lowest_fail.cpp rename to test/no_cxx11_numeric_limits_fail.cpp index d58aa04e..60717193 100644 --- a/test/no_limits_lowest_fail.cpp +++ b/test/no_cxx11_numeric_limits_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_NUMERIC_LIMITS_LOWEST +// Test file for macro BOOST_NO_CXX11_NUMERIC_LIMITS // This file should not compile, if it does then -// BOOST_NO_NUMERIC_LIMITS_LOWEST should not be defined. +// BOOST_NO_CXX11_NUMERIC_LIMITS should not be defined. // See file boost_no_limits_lowest.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifdef BOOST_NO_NUMERIC_LIMITS_LOWEST -#include "boost_no_limits_lowest.ipp" +#ifdef BOOST_NO_CXX11_NUMERIC_LIMITS +#include "boost_no_cxx11_numeric_limits.ipp" #else #error "this file should not compile" #endif int main( int, char *[] ) { - return boost_no_numeric_limits_lowest::test(); + return boost_no_cxx11_numeric_limits::test(); } diff --git a/test/no_limits_lowest_pass.cpp b/test/no_cxx11_numeric_limits_pass.cpp similarity index 73% rename from test/no_limits_lowest_pass.cpp rename to test/no_cxx11_numeric_limits_pass.cpp index d6af60bd..eb2c6cd4 100644 --- a/test/no_limits_lowest_pass.cpp +++ b/test/no_cxx11_numeric_limits_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_NUMERIC_LIMITS_LOWEST +// Test file for macro BOOST_NO_CXX11_NUMERIC_LIMITS // This file should compile, if it does not then -// BOOST_NO_NUMERIC_LIMITS_LOWEST should be defined. +// BOOST_NO_CXX11_NUMERIC_LIMITS should be defined. // See file boost_no_limits_lowest.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifndef BOOST_NO_NUMERIC_LIMITS_LOWEST -#include "boost_no_limits_lowest.ipp" +#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS +#include "boost_no_cxx11_numeric_limits.ipp" #else -namespace boost_no_numeric_limits_lowest = empty_boost; +namespace boost_no_cxx11_numeric_limits = empty_boost; #endif int main( int, char *[] ) { - return boost_no_numeric_limits_lowest::test(); + return boost_no_cxx11_numeric_limits::test(); } diff --git a/test/no_decltype_fail.cpp b/test/no_decltype_fail.cpp index ab060488..6fbd3b97 100644 --- a/test/no_decltype_fail.cpp +++ b/test/no_decltype_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_DECLTYPE +// Test file for macro BOOST_NO_CXX11_DECLTYPE // This file should not compile, if it does then -// BOOST_NO_DECLTYPE should not be defined. +// BOOST_NO_CXX11_DECLTYPE should not be defined. // See file boost_no_decltype.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_DECLTYPE +#ifdef BOOST_NO_CXX11_DECLTYPE #include "boost_no_decltype.ipp" #else #error "this file should not compile" diff --git a/test/no_decltype_n3276_fail.cpp b/test/no_decltype_n3276_fail.cpp index ab36e4b9..35a6d123 100644 --- a/test/no_decltype_n3276_fail.cpp +++ b/test/no_decltype_n3276_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_DECLTYPE_N3276 +// Test file for macro BOOST_NO_CXX11_DECLTYPE_N3276 // This file should not compile, if it does then -// BOOST_NO_DECLTYPE_N3276 should not be defined. +// BOOST_NO_CXX11_DECLTYPE_N3276 should not be defined. // See file boost_no_decltype_n3276.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_DECLTYPE_N3276 +#ifdef BOOST_NO_CXX11_DECLTYPE_N3276 #include "boost_no_decltype_n3276.ipp" #else #error "this file should not compile" diff --git a/test/no_decltype_n3276_pass.cpp b/test/no_decltype_n3276_pass.cpp index 6c0ccea0..b1b8c0a6 100644 --- a/test/no_decltype_n3276_pass.cpp +++ b/test/no_decltype_n3276_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_DECLTYPE_N3276 +// Test file for macro BOOST_NO_CXX11_DECLTYPE_N3276 // This file should compile, if it does not then -// BOOST_NO_DECLTYPE_N3276 should be defined. +// BOOST_NO_CXX11_DECLTYPE_N3276 should be defined. // See file boost_no_decltype_n3276.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_DECLTYPE_N3276 +#ifndef BOOST_NO_CXX11_DECLTYPE_N3276 #include "boost_no_decltype_n3276.ipp" #else namespace boost_no_decltype_n3276 = empty_boost; diff --git a/test/no_decltype_pass.cpp b/test/no_decltype_pass.cpp index a115419b..872c7b8f 100644 --- a/test/no_decltype_pass.cpp +++ b/test/no_decltype_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_DECLTYPE +// Test file for macro BOOST_NO_CXX11_DECLTYPE // This file should compile, if it does not then -// BOOST_NO_DECLTYPE should be defined. +// BOOST_NO_CXX11_DECLTYPE should be defined. // See file boost_no_decltype.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_DECLTYPE +#ifndef BOOST_NO_CXX11_DECLTYPE #include "boost_no_decltype.ipp" #else namespace boost_no_decltype = empty_boost; diff --git a/test/no_defaulted_functions_fail.cpp b/test/no_defaulted_functions_fail.cpp index eb681802..858dbe26 100644 --- a/test/no_defaulted_functions_fail.cpp +++ b/test/no_defaulted_functions_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_DEFAULTED_FUNCTIONS +// Test file for macro BOOST_NO_CXX11_DEFAULTED_FUNCTIONS // This file should not compile, if it does then -// BOOST_NO_DEFAULTED_FUNCTIONS should not be defined. +// BOOST_NO_CXX11_DEFAULTED_FUNCTIONS should not be defined. // See file boost_no_defaulted_functions.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_DEFAULTED_FUNCTIONS +#ifdef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS #include "boost_no_defaulted_functions.ipp" #else #error "this file should not compile" diff --git a/test/no_defaulted_functions_pass.cpp b/test/no_defaulted_functions_pass.cpp index eae0c65d..3a3117c1 100644 --- a/test/no_defaulted_functions_pass.cpp +++ b/test/no_defaulted_functions_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_DEFAULTED_FUNCTIONS +// Test file for macro BOOST_NO_CXX11_DEFAULTED_FUNCTIONS // This file should compile, if it does not then -// BOOST_NO_DEFAULTED_FUNCTIONS should be defined. +// BOOST_NO_CXX11_DEFAULTED_FUNCTIONS should be defined. // See file boost_no_defaulted_functions.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_DEFAULTED_FUNCTIONS +#ifndef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS #include "boost_no_defaulted_functions.ipp" #else namespace boost_no_defaulted_functions = empty_boost; diff --git a/test/no_deleted_functions_fail.cpp b/test/no_deleted_functions_fail.cpp index 4d90d761..fa1687fa 100644 --- a/test/no_deleted_functions_fail.cpp +++ b/test/no_deleted_functions_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_DELETED_FUNCTIONS +// Test file for macro BOOST_NO_CXX11_DELETED_FUNCTIONS // This file should not compile, if it does then -// BOOST_NO_DELETED_FUNCTIONS should not be defined. +// BOOST_NO_CXX11_DELETED_FUNCTIONS should not be defined. // See file boost_no_deleted_functions.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_DELETED_FUNCTIONS +#ifdef BOOST_NO_CXX11_DELETED_FUNCTIONS #include "boost_no_deleted_functions.ipp" #else #error "this file should not compile" diff --git a/test/no_deleted_functions_pass.cpp b/test/no_deleted_functions_pass.cpp index b9563250..2a7adea3 100644 --- a/test/no_deleted_functions_pass.cpp +++ b/test/no_deleted_functions_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_DELETED_FUNCTIONS +// Test file for macro BOOST_NO_CXX11_DELETED_FUNCTIONS // This file should compile, if it does not then -// BOOST_NO_DELETED_FUNCTIONS should be defined. +// BOOST_NO_CXX11_DELETED_FUNCTIONS should be defined. // See file boost_no_deleted_functions.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_DELETED_FUNCTIONS +#ifndef BOOST_NO_CXX11_DELETED_FUNCTIONS #include "boost_no_deleted_functions.ipp" #else namespace boost_no_deleted_functions = empty_boost; diff --git a/test/no_explicit_cvt_ops_fail.cpp b/test/no_explicit_cvt_ops_fail.cpp index a9e83183..405bb798 100644 --- a/test/no_explicit_cvt_ops_fail.cpp +++ b/test/no_explicit_cvt_ops_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_EXPLICIT_CONVERSION_OPERATORS +// Test file for macro BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS // This file should not compile, if it does then -// BOOST_NO_EXPLICIT_CONVERSION_OPERATORS should not be defined. +// BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS should not be defined. // See file boost_no_explicit_cvt_ops.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_EXPLICIT_CONVERSION_OPERATORS +#ifdef BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS #include "boost_no_explicit_cvt_ops.ipp" #else #error "this file should not compile" diff --git a/test/no_explicit_cvt_ops_pass.cpp b/test/no_explicit_cvt_ops_pass.cpp index 91efc1ea..fde15fa8 100644 --- a/test/no_explicit_cvt_ops_pass.cpp +++ b/test/no_explicit_cvt_ops_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_EXPLICIT_CONVERSION_OPERATORS +// Test file for macro BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS // This file should compile, if it does not then -// BOOST_NO_EXPLICIT_CONVERSION_OPERATORS should be defined. +// BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS should be defined. // See file boost_no_explicit_cvt_ops.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_EXPLICIT_CONVERSION_OPERATORS +#ifndef BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS #include "boost_no_explicit_cvt_ops.ipp" #else namespace boost_no_explicit_conversion_operators = empty_boost; diff --git a/test/no_extern_template_fail.cpp b/test/no_extern_template_fail.cpp index 6e739c87..c5427302 100644 --- a/test/no_extern_template_fail.cpp +++ b/test/no_extern_template_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_EXTERN_TEMPLATE +// Test file for macro BOOST_NO_CXX11_EXTERN_TEMPLATE // This file should not compile, if it does then -// BOOST_NO_EXTERN_TEMPLATE should not be defined. +// BOOST_NO_CXX11_EXTERN_TEMPLATE should not be defined. // See file boost_no_extern_template.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_EXTERN_TEMPLATE +#ifdef BOOST_NO_CXX11_EXTERN_TEMPLATE #include "boost_no_extern_template.ipp" #else #error "this file should not compile" diff --git a/test/no_extern_template_pass.cpp b/test/no_extern_template_pass.cpp index 60631a28..9d0354f4 100644 --- a/test/no_extern_template_pass.cpp +++ b/test/no_extern_template_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_EXTERN_TEMPLATE +// Test file for macro BOOST_NO_CXX11_EXTERN_TEMPLATE // This file should compile, if it does not then -// BOOST_NO_EXTERN_TEMPLATE should be defined. +// BOOST_NO_CXX11_EXTERN_TEMPLATE should be defined. // See file boost_no_extern_template.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_EXTERN_TEMPLATE +#ifndef BOOST_NO_CXX11_EXTERN_TEMPLATE #include "boost_no_extern_template.ipp" #else namespace boost_no_extern_template = empty_boost; diff --git a/test/no_function_template_default_args_fail.cpp b/test/no_function_template_default_args_fail.cpp index bff346d4..98ab7e13 100644 --- a/test/no_function_template_default_args_fail.cpp +++ b/test/no_function_template_default_args_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +// Test file for macro BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS // This file should not compile, if it does then -// BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS should not be defined. +// BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS should not be defined. // See file boost_no_function_template_default_args.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +#ifdef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS #include "boost_no_function_template_default_args.ipp" #else #error "this file should not compile" diff --git a/test/no_function_template_default_args_pass.cpp b/test/no_function_template_default_args_pass.cpp index b6b27e6f..44d3804b 100644 --- a/test/no_function_template_default_args_pass.cpp +++ b/test/no_function_template_default_args_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +// Test file for macro BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS // This file should compile, if it does not then -// BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS should be defined. +// BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS should be defined. // See file boost_no_function_template_default_args.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS +#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; diff --git a/test/no_lambdas_fail.cpp b/test/no_lambdas_fail.cpp index 29adaca4..762d2968 100644 --- a/test/no_lambdas_fail.cpp +++ b/test/no_lambdas_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_LAMBDAS +// Test file for macro BOOST_NO_CXX11_LAMBDAS // This file should not compile, if it does then -// BOOST_NO_LAMBDAS should not be defined. +// BOOST_NO_CXX11_LAMBDAS should not be defined. // See file boost_no_lambdas.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_LAMBDAS +#ifdef BOOST_NO_CXX11_LAMBDAS #include "boost_no_lambdas.ipp" #else #error "this file should not compile" diff --git a/test/no_lambdas_pass.cpp b/test/no_lambdas_pass.cpp index 7f08b380..531613fc 100644 --- a/test/no_lambdas_pass.cpp +++ b/test/no_lambdas_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_LAMBDAS +// Test file for macro BOOST_NO_CXX11_LAMBDAS // This file should compile, if it does not then -// BOOST_NO_LAMBDAS should be defined. +// BOOST_NO_CXX11_LAMBDAS should be defined. // See file boost_no_lambdas.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_LAMBDAS +#ifndef BOOST_NO_CXX11_LAMBDAS #include "boost_no_lambdas.ipp" #else namespace boost_no_lambdas = empty_boost; diff --git a/test/no_noexcept_fail.cpp b/test/no_noexcept_fail.cpp index f06f55df..dfc95e01 100644 --- a/test/no_noexcept_fail.cpp +++ b/test/no_noexcept_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_NOEXCEPT +// Test file for macro BOOST_NO_CXX11_NOEXCEPT // This file should not compile, if it does then -// BOOST_NO_NOEXCEPT should not be defined. +// BOOST_NO_CXX11_NOEXCEPT should not be defined. // See file boost_no_noexcept.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_NOEXCEPT +#ifdef BOOST_NO_CXX11_NOEXCEPT #include "boost_no_noexcept.ipp" #else #error "this file should not compile" diff --git a/test/no_noexcept_pass.cpp b/test/no_noexcept_pass.cpp index 9d6a6cdf..3f923c92 100644 --- a/test/no_noexcept_pass.cpp +++ b/test/no_noexcept_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_NOEXCEPT +// Test file for macro BOOST_NO_CXX11_NOEXCEPT // This file should compile, if it does not then -// BOOST_NO_NOEXCEPT should be defined. +// BOOST_NO_CXX11_NOEXCEPT should be defined. // See file boost_no_noexcept.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_NOEXCEPT +#ifndef BOOST_NO_CXX11_NOEXCEPT #include "boost_no_noexcept.ipp" #else namespace boost_no_noexcept = empty_boost; diff --git a/test/no_nullptr_fail.cpp b/test/no_nullptr_fail.cpp index bdbfde9a..8daa9ce8 100644 --- a/test/no_nullptr_fail.cpp +++ b/test/no_nullptr_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_NULLPTR +// Test file for macro BOOST_NO_CXX11_NULLPTR // This file should not compile, if it does then -// BOOST_NO_NULLPTR should not be defined. +// BOOST_NO_CXX11_NULLPTR should not be defined. // See file boost_no_nullptr.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_NULLPTR +#ifdef BOOST_NO_CXX11_NULLPTR #include "boost_no_nullptr.ipp" #else #error "this file should not compile" diff --git a/test/no_nullptr_pass.cpp b/test/no_nullptr_pass.cpp index 7a5d2c5f..d2380f42 100644 --- a/test/no_nullptr_pass.cpp +++ b/test/no_nullptr_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_NULLPTR +// Test file for macro BOOST_NO_CXX11_NULLPTR // This file should compile, if it does not then -// BOOST_NO_NULLPTR should be defined. +// BOOST_NO_CXX11_NULLPTR should be defined. // See file boost_no_nullptr.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_NULLPTR +#ifndef BOOST_NO_CXX11_NULLPTR #include "boost_no_nullptr.ipp" #else namespace boost_no_nullptr = empty_boost; diff --git a/test/no_range_based_for_fail.cpp b/test/no_range_based_for_fail.cpp new file mode 100644 index 00000000..6b0a0f54 --- /dev/null +++ b/test/no_range_based_for_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Tue Jul 10 14:28:33 2012 +// 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_RANGE_BASED_FOR +// This file should not compile, if it does then +// BOOST_NO_CXX11_RANGE_BASED_FOR should not be defined. +// See file boost_no_range_based_for.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_RANGE_BASED_FOR +#include "boost_no_range_based_for.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_range_based_for::test(); +} + diff --git a/test/no_range_based_for_pass.cpp b/test/no_range_based_for_pass.cpp new file mode 100644 index 00000000..b8207c57 --- /dev/null +++ b/test/no_range_based_for_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Tue Jul 10 14:28:33 2012 +// 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_RANGE_BASED_FOR +// This file should compile, if it does not then +// BOOST_NO_CXX11_RANGE_BASED_FOR should be defined. +// See file boost_no_range_based_for.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_RANGE_BASED_FOR +#include "boost_no_range_based_for.ipp" +#else +namespace boost_no_cxx11_range_based_for = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_range_based_for::test(); +} + diff --git a/test/no_raw_literals_fail.cpp b/test/no_raw_literals_fail.cpp index 48ed107b..294bcfd7 100644 --- a/test/no_raw_literals_fail.cpp +++ b/test/no_raw_literals_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_RAW_LITERALS +// Test file for macro BOOST_NO_CXX11_RAW_LITERALS // This file should not compile, if it does then -// BOOST_NO_RAW_LITERALS should not be defined. +// BOOST_NO_CXX11_RAW_LITERALS should not be defined. // See file boost_no_raw_literals.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_RAW_LITERALS +#ifdef BOOST_NO_CXX11_RAW_LITERALS #include "boost_no_raw_literals.ipp" #else #error "this file should not compile" diff --git a/test/no_raw_literals_pass.cpp b/test/no_raw_literals_pass.cpp index 725b6c15..0fea9d5f 100644 --- a/test/no_raw_literals_pass.cpp +++ b/test/no_raw_literals_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_RAW_LITERALS +// Test file for macro BOOST_NO_CXX11_RAW_LITERALS // This file should compile, if it does not then -// BOOST_NO_RAW_LITERALS should be defined. +// BOOST_NO_CXX11_RAW_LITERALS should be defined. // See file boost_no_raw_literals.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_RAW_LITERALS +#ifndef BOOST_NO_CXX11_RAW_LITERALS #include "boost_no_raw_literals.ipp" #else namespace boost_no_raw_literals = empty_boost; diff --git a/test/no_rvalue_references_fail.cpp b/test/no_rvalue_references_fail.cpp index 157c7efa..ca283f3e 100644 --- a/test/no_rvalue_references_fail.cpp +++ b/test/no_rvalue_references_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_RVALUE_REFERENCES +// Test file for macro BOOST_NO_CXX11_RVALUE_REFERENCES // This file should not compile, if it does then -// BOOST_NO_RVALUE_REFERENCES should not be defined. +// BOOST_NO_CXX11_RVALUE_REFERENCES should not be defined. // See file boost_no_rvalue_references.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_RVALUE_REFERENCES +#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES #include "boost_no_rvalue_references.ipp" #else #error "this file should not compile" diff --git a/test/no_rvalue_references_pass.cpp b/test/no_rvalue_references_pass.cpp index 1349ec81..c253c342 100644 --- a/test/no_rvalue_references_pass.cpp +++ b/test/no_rvalue_references_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_RVALUE_REFERENCES +// Test file for macro BOOST_NO_CXX11_RVALUE_REFERENCES // This file should compile, if it does not then -// BOOST_NO_RVALUE_REFERENCES should be defined. +// BOOST_NO_CXX11_RVALUE_REFERENCES should be defined. // See file boost_no_rvalue_references.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_RVALUE_REFERENCES +#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES #include "boost_no_rvalue_references.ipp" #else namespace boost_no_rvalue_references = empty_boost; diff --git a/test/no_scoped_enums_fail.cpp b/test/no_scoped_enums_fail.cpp index 1da2360c..a02eb1e8 100644 --- a/test/no_scoped_enums_fail.cpp +++ b/test/no_scoped_enums_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_SCOPED_ENUMS +// Test file for macro BOOST_NO_CXX11_SCOPED_ENUMS // This file should not compile, if it does then -// BOOST_NO_SCOPED_ENUMS should not be defined. +// BOOST_NO_CXX11_SCOPED_ENUMS should not be defined. // See file boost_no_scoped_enums.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_SCOPED_ENUMS +#ifdef BOOST_NO_CXX11_SCOPED_ENUMS #include "boost_no_scoped_enums.ipp" #else #error "this file should not compile" diff --git a/test/no_scoped_enums_pass.cpp b/test/no_scoped_enums_pass.cpp index b462340d..64e9d346 100644 --- a/test/no_scoped_enums_pass.cpp +++ b/test/no_scoped_enums_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_SCOPED_ENUMS +// Test file for macro BOOST_NO_CXX11_SCOPED_ENUMS // This file should compile, if it does not then -// BOOST_NO_SCOPED_ENUMS should be defined. +// BOOST_NO_CXX11_SCOPED_ENUMS should be defined. // See file boost_no_scoped_enums.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_SCOPED_ENUMS +#ifndef BOOST_NO_CXX11_SCOPED_ENUMS #include "boost_no_scoped_enums.ipp" #else namespace boost_no_scoped_enums = empty_boost; diff --git a/test/no_static_assert_fail.cpp b/test/no_static_assert_fail.cpp index ba053413..5ae5e809 100644 --- a/test/no_static_assert_fail.cpp +++ b/test/no_static_assert_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_STATIC_ASSERT +// Test file for macro BOOST_NO_CXX11_STATIC_ASSERT // This file should not compile, if it does then -// BOOST_NO_STATIC_ASSERT should not be defined. +// BOOST_NO_CXX11_STATIC_ASSERT should not be defined. // See file boost_no_static_assert.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_STATIC_ASSERT +#ifdef BOOST_NO_CXX11_STATIC_ASSERT #include "boost_no_static_assert.ipp" #else #error "this file should not compile" diff --git a/test/no_static_assert_pass.cpp b/test/no_static_assert_pass.cpp index 9df618a1..fbc50593 100644 --- a/test/no_static_assert_pass.cpp +++ b/test/no_static_assert_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_STATIC_ASSERT +// Test file for macro BOOST_NO_CXX11_STATIC_ASSERT // This file should compile, if it does not then -// BOOST_NO_STATIC_ASSERT should be defined. +// BOOST_NO_CXX11_STATIC_ASSERT should be defined. // See file boost_no_static_assert.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_STATIC_ASSERT +#ifndef BOOST_NO_CXX11_STATIC_ASSERT #include "boost_no_static_assert.ipp" #else namespace boost_no_static_assert = empty_boost; diff --git a/test/no_tem_local_classes_fail.cpp b/test/no_tem_local_classes_fail.cpp index 7f24b6ec..b9ac5ae6 100644 --- a/test/no_tem_local_classes_fail.cpp +++ b/test/no_tem_local_classes_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +// Test file for macro BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS // This file should not compile, if it does then -// BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS should not be defined. +// BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS should not be defined. // See file boost_no_tem_local_classes.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +#ifdef BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS #include "boost_no_tem_local_classes.ipp" #else #error "this file should not compile" diff --git a/test/no_tem_local_classes_pass.cpp b/test/no_tem_local_classes_pass.cpp index 1dcbf59d..140bd6be 100644 --- a/test/no_tem_local_classes_pass.cpp +++ b/test/no_tem_local_classes_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +// Test file for macro BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS // This file should compile, if it does not then -// BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS should be defined. +// BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS should be defined. // See file boost_no_tem_local_classes.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +#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; diff --git a/test/no_template_aliases_fail.cpp b/test/no_template_aliases_fail.cpp index 8bda5eb9..cb4cabd6 100644 --- a/test/no_template_aliases_fail.cpp +++ b/test/no_template_aliases_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_TEMPLATE_ALIASES +// Test file for macro BOOST_NO_CXX11_TEMPLATE_ALIASES // This file should not compile, if it does then -// BOOST_NO_TEMPLATE_ALIASES should not be defined. +// BOOST_NO_CXX11_TEMPLATE_ALIASES should not be defined. // See file boost_no_template_aliases.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_TEMPLATE_ALIASES +#ifdef BOOST_NO_CXX11_TEMPLATE_ALIASES #include "boost_no_template_aliases.ipp" #else #error "this file should not compile" diff --git a/test/no_template_aliases_pass.cpp b/test/no_template_aliases_pass.cpp index 2ff5dd38..570b7238 100644 --- a/test/no_template_aliases_pass.cpp +++ b/test/no_template_aliases_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_TEMPLATE_ALIASES +// Test file for macro BOOST_NO_CXX11_TEMPLATE_ALIASES // This file should compile, if it does not then -// BOOST_NO_TEMPLATE_ALIASES should be defined. +// BOOST_NO_CXX11_TEMPLATE_ALIASES should be defined. // See file boost_no_template_aliases.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_TEMPLATE_ALIASES +#ifndef BOOST_NO_CXX11_TEMPLATE_ALIASES #include "boost_no_template_aliases.ipp" #else namespace boost_no_template_aliases = empty_boost; diff --git a/test/no_unicode_literals_fail.cpp b/test/no_unicode_literals_fail.cpp index 0a1d32de..57d7e3f8 100644 --- a/test/no_unicode_literals_fail.cpp +++ b/test/no_unicode_literals_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_UNICODE_LITERALS +// Test file for macro BOOST_NO_CXX11_UNICODE_LITERALS // This file should not compile, if it does then -// BOOST_NO_UNICODE_LITERALS should not be defined. +// BOOST_NO_CXX11_UNICODE_LITERALS should not be defined. // See file boost_no_unicode_literals.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_UNICODE_LITERALS +#ifdef BOOST_NO_CXX11_UNICODE_LITERALS #include "boost_no_unicode_literals.ipp" #else #error "this file should not compile" diff --git a/test/no_unicode_literals_pass.cpp b/test/no_unicode_literals_pass.cpp index cca64a16..88e73126 100644 --- a/test/no_unicode_literals_pass.cpp +++ b/test/no_unicode_literals_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_UNICODE_LITERALS +// Test file for macro BOOST_NO_CXX11_UNICODE_LITERALS // This file should compile, if it does not then -// BOOST_NO_UNICODE_LITERALS should be defined. +// BOOST_NO_CXX11_UNICODE_LITERALS should be defined. // See file boost_no_unicode_literals.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_UNICODE_LITERALS +#ifndef BOOST_NO_CXX11_UNICODE_LITERALS #include "boost_no_unicode_literals.ipp" #else namespace boost_no_unicode_literals = empty_boost; diff --git a/test/no_unified_init_fail.cpp b/test/no_unified_init_fail.cpp index 1cd6296f..cc92327b 100644 --- a/test/no_unified_init_fail.cpp +++ b/test/no_unified_init_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +// Test file for macro BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX // This file should not compile, if it does then -// BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX should not be defined. +// BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX should not be defined. // See file boost_no_unified_init.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#ifdef BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #include "boost_no_unified_init.ipp" #else #error "this file should not compile" diff --git a/test/no_unified_init_pass.cpp b/test/no_unified_init_pass.cpp index 108a4a50..facd0f3b 100644 --- a/test/no_unified_init_pass.cpp +++ b/test/no_unified_init_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +// Test file for macro BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX // This file should compile, if it does not then -// BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX should be defined. +// BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX should be defined. // See file boost_no_unified_init.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#ifndef BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX #include "boost_no_unified_init.ipp" #else namespace boost_no_unified_initialization_syntax = empty_boost; diff --git a/test/no_variadic_macros_fail.cpp b/test/no_variadic_macros_fail.cpp index e1195469..f92c1454 100644 --- a/test/no_variadic_macros_fail.cpp +++ b/test/no_variadic_macros_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_VARIADIC_MACROS +// Test file for macro BOOST_NO_CXX11_VARIADIC_MACROS // This file should not compile, if it does then -// BOOST_NO_VARIADIC_MACROS should not be defined. +// BOOST_NO_CXX11_VARIADIC_MACROS should not be defined. // See file boost_no_variadic_macros.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_VARIADIC_MACROS +#ifdef BOOST_NO_CXX11_VARIADIC_MACROS #include "boost_no_variadic_macros.ipp" #else #error "this file should not compile" diff --git a/test/no_variadic_macros_pass.cpp b/test/no_variadic_macros_pass.cpp index 7475c4fa..d1624eb8 100644 --- a/test/no_variadic_macros_pass.cpp +++ b/test/no_variadic_macros_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_VARIADIC_MACROS +// Test file for macro BOOST_NO_CXX11_VARIADIC_MACROS // This file should compile, if it does not then -// BOOST_NO_VARIADIC_MACROS should be defined. +// BOOST_NO_CXX11_VARIADIC_MACROS should be defined. // See file boost_no_variadic_macros.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_VARIADIC_MACROS +#ifndef BOOST_NO_CXX11_VARIADIC_MACROS #include "boost_no_variadic_macros.ipp" #else namespace boost_no_variadic_macros = empty_boost; diff --git a/test/no_variadic_templates_fail.cpp b/test/no_variadic_templates_fail.cpp index 25f4eaf1..23bf1c3a 100644 --- a/test/no_variadic_templates_fail.cpp +++ b/test/no_variadic_templates_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_VARIADIC_TEMPLATES +// Test file for macro BOOST_NO_CXX11_VARIADIC_TEMPLATES // This file should not compile, if it does then -// BOOST_NO_VARIADIC_TEMPLATES should not be defined. +// BOOST_NO_CXX11_VARIADIC_TEMPLATES should not be defined. // See file boost_no_variadic_templates.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifdef BOOST_NO_VARIADIC_TEMPLATES +#ifdef BOOST_NO_CXX11_VARIADIC_TEMPLATES #include "boost_no_variadic_templates.ipp" #else #error "this file should not compile" diff --git a/test/no_variadic_templates_pass.cpp b/test/no_variadic_templates_pass.cpp index 9f57e151..7ba08850 100644 --- a/test/no_variadic_templates_pass.cpp +++ b/test/no_variadic_templates_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_VARIADIC_TEMPLATES +// Test file for macro BOOST_NO_CXX11_VARIADIC_TEMPLATES // This file should compile, if it does not then -// BOOST_NO_VARIADIC_TEMPLATES should be defined. +// BOOST_NO_CXX11_VARIADIC_TEMPLATES should be defined. // See file boost_no_variadic_templates.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,7 +24,7 @@ #include #include "test.hpp" -#ifndef BOOST_NO_VARIADIC_TEMPLATES +#ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES #include "boost_no_variadic_templates.ipp" #else namespace boost_no_variadic_templates = empty_boost;