|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84873 - in trunk: boost/config/compiler libs/config/doc libs/config/test libs/config/test/all
From: andrey.semashev_at_[hidden]
Date: 2013-06-22 08:23:09
Author: andysem
Date: 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013)
New Revision: 84873
URL: http://svn.boost.org/trac/boost/changeset/84873
Log:
Added BOOST_NO_CXX11_INLINE_NAMESPACES and BOOST_NO_CXX11_TRAILING_RESULT_TYPES macros. Also corrected some tests that were using outdated testcase namespaces.
Added:
trunk/libs/config/test/boost_no_cxx11_inline_namespaces.ipp (contents, props changed)
trunk/libs/config/test/boost_no_cxx11_trailing_result_types.ipp (contents, props changed)
trunk/libs/config/test/no_cxx11_inline_namespaces_fail.cpp (contents, props changed)
trunk/libs/config/test/no_cxx11_inline_namespaces_pass.cpp (contents, props changed)
trunk/libs/config/test/no_cxx11_trailing_result_types_fail.cpp (contents, props changed)
trunk/libs/config/test/no_cxx11_trailing_result_types_pass.cpp (contents, props changed)
Text files modified:
trunk/boost/config/compiler/borland.hpp | 2 ++
trunk/boost/config/compiler/clang.hpp | 8 ++++++++
trunk/boost/config/compiler/codegear.hpp | 2 ++
trunk/boost/config/compiler/common_edg.hpp | 2 ++
trunk/boost/config/compiler/digitalmars.hpp | 2 ++
trunk/boost/config/compiler/gcc.hpp | 2 ++
trunk/boost/config/compiler/gcc_xml.hpp | 2 ++
trunk/boost/config/compiler/hp_acc.hpp | 2 ++
trunk/boost/config/compiler/intel.hpp | 11 ++++++-----
trunk/boost/config/compiler/metrowerks.hpp | 2 ++
trunk/boost/config/compiler/mpw.hpp | 2 ++
trunk/boost/config/compiler/pathscale.hpp | 3 ++-
trunk/boost/config/compiler/pgi.hpp | 2 ++
trunk/boost/config/compiler/sunpro_cc.hpp | 2 ++
trunk/boost/config/compiler/vacpp.hpp | 5 ++---
trunk/boost/config/compiler/visualc.hpp | 2 ++
trunk/libs/config/doc/macro_reference.qbk | 3 +++
trunk/libs/config/test/all/Jamfile.v2 | 6 ++++++
trunk/libs/config/test/boost_no_cxx11_inline_namespaces.ipp | 30 ++++++++++++++++++++++++++++++
trunk/libs/config/test/boost_no_cxx11_trailing_result_types.ipp | 26 ++++++++++++++++++++++++++
trunk/libs/config/test/config_info.cpp | 2 ++
trunk/libs/config/test/config_test.cpp | 20 ++++++++++++++++++++
trunk/libs/config/test/no_auto_declarations_fail.cpp | 2 +-
trunk/libs/config/test/no_auto_declarations_pass.cpp | 4 ++--
trunk/libs/config/test/no_auto_multidecl_fail.cpp | 2 +-
trunk/libs/config/test/no_auto_multidecl_pass.cpp | 4 ++--
trunk/libs/config/test/no_char16_t_fail.cpp | 2 +-
trunk/libs/config/test/no_char16_t_pass.cpp | 4 ++--
trunk/libs/config/test/no_char32_t_fail.cpp | 2 +-
trunk/libs/config/test/no_char32_t_pass.cpp | 4 ++--
trunk/libs/config/test/no_constexpr_fail.cpp | 2 +-
trunk/libs/config/test/no_constexpr_pass.cpp | 4 ++--
trunk/libs/config/test/no_cxx11_inline_namespaces_fail.cpp | 37 +++++++++++++++++++++++++++++++++++++
trunk/libs/config/test/no_cxx11_inline_namespaces_pass.cpp | 37 +++++++++++++++++++++++++++++++++++++
trunk/libs/config/test/no_cxx11_trailing_result_types_fail.cpp | 37 +++++++++++++++++++++++++++++++++++++
trunk/libs/config/test/no_cxx11_trailing_result_types_pass.cpp | 37 +++++++++++++++++++++++++++++++++++++
trunk/libs/config/test/no_decltype_fail.cpp | 2 +-
trunk/libs/config/test/no_decltype_pass.cpp | 4 ++--
trunk/libs/config/test/no_defaulted_functions_fail.cpp | 2 +-
trunk/libs/config/test/no_defaulted_functions_pass.cpp | 4 ++--
trunk/libs/config/test/no_deleted_functions_fail.cpp | 2 +-
trunk/libs/config/test/no_deleted_functions_pass.cpp | 4 ++--
trunk/libs/config/test/no_explicit_cvt_ops_fail.cpp | 2 +-
trunk/libs/config/test/no_explicit_cvt_ops_pass.cpp | 4 ++--
trunk/libs/config/test/no_extern_template_fail.cpp | 2 +-
trunk/libs/config/test/no_extern_template_pass.cpp | 4 ++--
trunk/libs/config/test/no_function_template_default_args_fail.cpp | 2 +-
trunk/libs/config/test/no_function_template_default_args_pass.cpp | 4 ++--
trunk/libs/config/test/no_lambdas_fail.cpp | 2 +-
trunk/libs/config/test/no_lambdas_pass.cpp | 4 ++--
trunk/libs/config/test/no_noexcept_fail.cpp | 2 +-
trunk/libs/config/test/no_noexcept_pass.cpp | 4 ++--
trunk/libs/config/test/no_nullptr_fail.cpp | 2 +-
trunk/libs/config/test/no_nullptr_pass.cpp | 4 ++--
trunk/libs/config/test/no_raw_literals_fail.cpp | 2 +-
trunk/libs/config/test/no_raw_literals_pass.cpp | 4 ++--
trunk/libs/config/test/no_rvalue_references_fail.cpp | 2 +-
trunk/libs/config/test/no_rvalue_references_pass.cpp | 4 ++--
trunk/libs/config/test/no_scoped_enums_fail.cpp | 2 +-
trunk/libs/config/test/no_scoped_enums_pass.cpp | 4 ++--
trunk/libs/config/test/no_static_assert_fail.cpp | 2 +-
trunk/libs/config/test/no_static_assert_pass.cpp | 4 ++--
trunk/libs/config/test/no_tem_local_classes_fail.cpp | 2 +-
trunk/libs/config/test/no_tem_local_classes_pass.cpp | 4 ++--
trunk/libs/config/test/no_template_aliases_fail.cpp | 2 +-
trunk/libs/config/test/no_template_aliases_pass.cpp | 4 ++--
trunk/libs/config/test/no_unicode_literals_fail.cpp | 2 +-
trunk/libs/config/test/no_unicode_literals_pass.cpp | 4 ++--
trunk/libs/config/test/no_unified_init_fail.cpp | 2 +-
trunk/libs/config/test/no_unified_init_pass.cpp | 4 ++--
trunk/libs/config/test/no_variadic_macros_fail.cpp | 2 +-
trunk/libs/config/test/no_variadic_macros_pass.cpp | 4 ++--
trunk/libs/config/test/no_variadic_templates_fail.cpp | 2 +-
trunk/libs/config/test/no_variadic_templates_pass.cpp | 4 ++--
74 files changed, 349 insertions(+), 81 deletions(-)
Modified: trunk/boost/config/compiler/borland.hpp
==============================================================================
--- trunk/boost/config/compiler/borland.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/borland.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -192,6 +192,8 @@
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+#define BOOST_NO_CXX11_INLINE_NAMESPACES
#if __BORLANDC__ >= 0x590
# define BOOST_HAS_TR1_HASH
Modified: trunk/boost/config/compiler/clang.hpp
==============================================================================
--- trunk/boost/config/compiler/clang.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/clang.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -160,6 +160,14 @@
# define BOOST_NO_CXX11_ALIGNAS
#endif
+#if !__has_feature(cxx_trailing_return)
+# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+#endif
+
+#if !__has_feature(cxx_inline_namespaces)
+# define BOOST_NO_CXX11_INLINE_NAMESPACES
+#endif
+
// Clang always supports variadic macros
// Clang always supports extern templates
Modified: trunk/boost/config/compiler/codegear.hpp
==============================================================================
--- trunk/boost/config/compiler/codegear.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/codegear.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -118,6 +118,8 @@
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+#define BOOST_NO_CXX11_INLINE_NAMESPACES
//
// TR1 macros:
Modified: trunk/boost/config/compiler/common_edg.hpp
==============================================================================
--- trunk/boost/config/compiler/common_edg.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/common_edg.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -102,6 +102,8 @@
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_TRAILING_RESULT_TYPE
+#define BOOST_NO_CXX11_INLINE_NAMESPACES
#ifdef c_plusplus
// EDG has "long long" in non-strict mode
Modified: trunk/boost/config/compiler/digitalmars.hpp
==============================================================================
--- trunk/boost/config/compiler/digitalmars.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/digitalmars.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -88,6 +88,8 @@
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+#define BOOST_NO_CXX11_INLINE_NAMESPACES
#if (__DMC__ < 0x812)
#define BOOST_NO_CXX11_VARIADIC_MACROS
Modified: trunk/boost/config/compiler/gcc.hpp
==============================================================================
--- trunk/boost/config/compiler/gcc.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/gcc.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -211,6 +211,8 @@
# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
# define BOOST_NO_CXX11_DELETED_FUNCTIONS
+# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+# define BOOST_NO_CXX11_INLINE_NAMESPACES
#endif
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
Modified: trunk/boost/config/compiler/gcc_xml.hpp
==============================================================================
--- trunk/boost/config/compiler/gcc_xml.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/gcc_xml.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -56,6 +56,8 @@
# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
# define BOOST_NO_CXX11_USER_DEFINED_LITERALS
# define BOOST_NO_CXX11_ALIGNAS
+# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+# define BOOST_NO_CXX11_INLINE_NAMESPACES
#define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__
Modified: trunk/boost/config/compiler/hp_acc.hpp
==============================================================================
--- trunk/boost/config/compiler/hp_acc.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/hp_acc.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -120,6 +120,8 @@
#define BOOST_NO_CXX11_VARIADIC_TEMPLATES
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+#define BOOST_NO_CXX11_INLINE_NAMESPACES
/*
See https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1443331 and
Modified: trunk/boost/config/compiler/intel.hpp
==============================================================================
--- trunk/boost/config/compiler/intel.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/intel.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -181,10 +181,10 @@
//
// An attempt to value-initialize a pointer-to-member may trigger an
-// internal error on Intel <= 11.1 (last checked version), as was
+// internal error on Intel <= 11.1 (last checked version), as was
// reported by John Maddock, Intel support issue 589832, May 2010.
// Moreover, according to test results from Huang-Vista-x86_32_intel,
-// intel-vc9-win-11.1 may leave a non-POD array uninitialized, in some
+// intel-vc9-win-11.1 may leave a non-POD array uninitialized, in some
// cases when it should be value-initialized.
// (Niels Dekker, LKEB, May 2010)
// Apparently Intel 12.1 (compiler version number 9999 !!) has the same issue (compiler regression).
@@ -229,10 +229,11 @@
# undef BOOST_NO_CXX11_DECLTYPE
# undef BOOST_NO_CXX11_AUTO_DECLARATIONS
# undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
+# undef BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#endif
// icl Version 12.1.0.233 Build 20110811 and possibly some other builds
-// had an incorrect __INTEL_COMPILER value of 9999. Intel say this has been fixed.
+// had an incorrect __INTEL_COMPILER value of 9999. Intel say this has been fixed.
#if defined(BOOST_INTEL_STDCXX0X) && (BOOST_INTEL_CXX_VERSION > 1200)
# undef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
# undef BOOST_NO_CXX11_NULLPTR
@@ -242,8 +243,8 @@
# undef BOOST_NO_CXX11_VARIADIC_TEMPLATES
// http://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler/
-// continues to list scoped enum support as "Partial"
-//# undef BOOST_NO_CXX11_SCOPED_ENUMS
+// continues to list scoped enum support as "Partial"
+//# undef BOOST_NO_CXX11_SCOPED_ENUMS
#endif
#if defined(_MSC_VER) && (_MSC_VER <= 1700)
Modified: trunk/boost/config/compiler/metrowerks.hpp
==============================================================================
--- trunk/boost/config/compiler/metrowerks.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/metrowerks.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -121,6 +121,8 @@
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+#define BOOST_NO_CXX11_INLINE_NAMESPACES
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
Modified: trunk/boost/config/compiler/mpw.hpp
==============================================================================
--- trunk/boost/config/compiler/mpw.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/mpw.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -70,6 +70,8 @@
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+#define BOOST_NO_CXX11_INLINE_NAMESPACES
//
// versions check:
Modified: trunk/boost/config/compiler/pathscale.hpp
==============================================================================
--- trunk/boost/config/compiler/pathscale.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/pathscale.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -78,5 +78,6 @@
# define BOOST_NO_CXX11_HDR_CHRONO
# define BOOST_NO_CXX11_USER_DEFINED_LITERALS
# define BOOST_NO_CXX11_ALIGNAS
+# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+# define BOOST_NO_CXX11_INLINE_NAMESPACES
#endif
-
Modified: trunk/boost/config/compiler/pgi.hpp
==============================================================================
--- trunk/boost/config/compiler/pgi.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/pgi.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -113,6 +113,8 @@
#define BOOST_NO_CXX11_HDR_ARRAY
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+#define BOOST_NO_CXX11_INLINE_NAMESPACES
//
// version check:
Modified: trunk/boost/config/compiler/sunpro_cc.hpp
==============================================================================
--- trunk/boost/config/compiler/sunpro_cc.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/sunpro_cc.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -129,6 +129,8 @@
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+#define BOOST_NO_CXX11_INLINE_NAMESPACES
//
// Version
Modified: trunk/boost/config/compiler/vacpp.hpp
==============================================================================
--- trunk/boost/config/compiler/vacpp.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/vacpp.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -127,6 +127,5 @@
# define BOOST_NO_CXX11_VARIADIC_MACROS
#endif
#define BOOST_NO_CXX11_ALIGNAS
-
-
-
+#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+#define BOOST_NO_CXX11_INLINE_NAMESPACES
Modified: trunk/boost/config/compiler/visualc.hpp
==============================================================================
--- trunk/boost/config/compiler/visualc.hpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/boost/config/compiler/visualc.hpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -231,6 +231,7 @@
# define BOOST_NO_CXX11_RAW_LITERALS
# define BOOST_NO_CXX11_VARIADIC_TEMPLATES
# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
+# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#endif
// C++11 features not supported by any versions
@@ -247,6 +248,7 @@
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#define BOOST_NO_CXX11_ALIGNAS
+#define BOOST_NO_CXX11_INLINE_NAMESPACES
//
// prefix and suffix headers:
Modified: trunk/libs/config/doc/macro_reference.qbk
==============================================================================
--- trunk/libs/config/doc/macro_reference.qbk Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/doc/macro_reference.qbk 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -604,6 +604,7 @@
[[`BOOST_NO_CXX11_HDR_TYPE_TRAITS`][The standard library does not provide header <type_traits>.]]
[[`BOOST_NO_CXX11_HDR_UNORDERED_MAP`][The standard library does not provide header <unordered_map>.]]
[[`BOOST_NO_CXX11_HDR_UNORDERED_SET`][The standard library does not provide header <unordered_set>.]]
+[[`BOOST_NO_CXX11_INLINE_NAMESPACES`][The compiler does not support inline namespaces.]]
[[`BOOST_NO_CXX11_SMART_PTR`][The standard library header <memory> has no shared_ptr and unique_ptr.]]
[[`BOOST_NO_CXX11_AUTO_DECLARATIONS`][The compiler does not support
@@ -676,6 +677,8 @@
[[`BOOST_NO_CXX11_STD_UNORDERED`][The standard library does not support
<unordered_map> and <unordered_set>.
]]
+[[`BOOST_NO_CXX11_TRAILING_RESULT_TYPES`][The compiler does not support the new function result type
+specification syntax (e.g. `auto foo(T) -> T;`).]]
[[`BOOST_NO_CXX11_UNICODE_LITERALS`][The compiler does not support
Unicode (`u8`, `u`, `U`) literals.
]]
Modified: trunk/libs/config/test/all/Jamfile.v2
==============================================================================
--- trunk/libs/config/test/all/Jamfile.v2 Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/all/Jamfile.v2 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -292,12 +292,18 @@
test-suite "BOOST_NO_CXX11_HDR_UNORDERED_SET" :
[ run ../no_cxx11_hdr_unordered_set_pass.cpp ]
[ compile-fail ../no_cxx11_hdr_unordered_set_fail.cpp ] ;
+test-suite "BOOST_NO_CXX11_INLINE_NAMESPACES" :
+[ run ../no_cxx11_inline_namespaces_pass.cpp ]
+[ compile-fail ../no_cxx11_inline_namespaces_fail.cpp ] ;
test-suite "BOOST_NO_CXX11_NUMERIC_LIMITS" :
[ run ../no_cxx11_numeric_limits_pass.cpp ]
[ compile-fail ../no_cxx11_numeric_limits_fail.cpp ] ;
test-suite "BOOST_NO_CXX11_SMART_PTR" :
[ run ../no_cxx11_smart_ptr_pass.cpp ]
[ compile-fail ../no_cxx11_smart_ptr_fail.cpp ] ;
+test-suite "BOOST_NO_CXX11_TRAILING_RESULT_TYPES" :
+[ run ../no_cxx11_trailing_result_types_pass.cpp ]
+[ compile-fail ../no_cxx11_trailing_result_types_fail.cpp ] ;
test-suite "BOOST_NO_CXX11_USER_DEFINED_LITERALS" :
[ run ../no_cxx11_user_lit_pass.cpp ]
[ compile-fail ../no_cxx11_user_lit_fail.cpp ] ;
Added: trunk/libs/config/test/boost_no_cxx11_inline_namespaces.ipp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/libs/config/test/boost_no_cxx11_inline_namespaces.ipp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -0,0 +1,30 @@
+// (C) Copyright Andrey Semashev 2013
+
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for more information.
+
+// MACRO: BOOST_NO_CXX11_INLINE_NAMESPACES
+// TITLE: C++11 inline namespaces.
+// DESCRIPTION: The compiler does not support C++11 inline namespaces.
+
+namespace boost_no_cxx11_inline_namespaces {
+
+inline namespace my_ns {
+
+int data = 0;
+
+} // namespace my_ns
+
+int test()
+{
+ data = 1;
+ if (&data == &my_ns::data)
+ return 0;
+ else
+ return 1;
+}
+
+}
Added: trunk/libs/config/test/boost_no_cxx11_trailing_result_types.ipp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/libs/config/test/boost_no_cxx11_trailing_result_types.ipp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -0,0 +1,26 @@
+// (C) Copyright Andrey Semashev 2013
+
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for more information.
+
+// MACRO: BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+// TITLE: C++11 trailing function result types syntax.
+// DESCRIPTION: The compiler does not support the new C++11 function result types specification syntax.
+
+namespace boost_no_cxx11_trailing_result_types {
+
+template< typename T >
+auto foo(T const& t) -> T
+{
+ return t;
+}
+
+int test()
+{
+ return foo(0);
+}
+
+}
Modified: trunk/libs/config/test/config_info.cpp
==============================================================================
--- trunk/libs/config/test/config_info.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/config_info.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -1026,6 +1026,7 @@
PRINT_MACRO(BOOST_NO_CXX11_HDR_TYPE_TRAITS);
PRINT_MACRO(BOOST_NO_CXX11_HDR_UNORDERED_MAP);
PRINT_MACRO(BOOST_NO_CXX11_HDR_UNORDERED_SET);
+ PRINT_MACRO(BOOST_NO_CXX11_INLINE_NAMESPACES);
PRINT_MACRO(BOOST_NO_CXX11_LAMBDAS);
PRINT_MACRO(BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS);
PRINT_MACRO(BOOST_NO_CXX11_NOEXCEPT);
@@ -1038,6 +1039,7 @@
PRINT_MACRO(BOOST_NO_CXX11_SMART_PTR);
PRINT_MACRO(BOOST_NO_CXX11_STATIC_ASSERT);
PRINT_MACRO(BOOST_NO_CXX11_TEMPLATE_ALIASES);
+ PRINT_MACRO(BOOST_NO_CXX11_TRAILING_RESULT_TYPES);
PRINT_MACRO(BOOST_NO_CXX11_UNICODE_LITERALS);
PRINT_MACRO(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX);
PRINT_MACRO(BOOST_NO_CXX11_USER_DEFINED_LITERALS);
Modified: trunk/libs/config/test/config_test.cpp
==============================================================================
--- trunk/libs/config/test/config_test.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/config_test.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -207,6 +207,16 @@
#else
namespace boost_no_cxx11_hdr_unordered_set = empty_boost;
#endif
+#ifndef BOOST_NO_CXX11_INLINE_NAMESPACES
+#include "boost_no_cxx11_inline_namespaces.ipp"
+#else
+namespace boost_no_cxx11_inline_namespaces = empty_boost;
+#endif
+#ifndef BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+#include "boost_no_cxx11_trailing_result_types.ipp"
+#else
+namespace boost_no_cxx11_trailing_result_types = empty_boost;
+#endif
#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS
#include "boost_no_cxx11_numeric_limits.ipp"
#else
@@ -1341,6 +1351,11 @@
std::cerr << "Failed test for BOOST_NO_CXX11_HDR_UNORDERED_SET at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
+ if(0 != boost_no_cxx11_inline_namespaces::test())
+ {
+ std::cerr << "Failed test for BOOST_NO_CXX11_INLINE_NAMESPACES at: " << __FILE__ << ":" << __LINE__ << std::endl;
+ ++error_count;
+ }
if(0 != boost_no_cxx11_numeric_limits::test())
{
std::cerr << "Failed test for BOOST_NO_CXX11_NUMERIC_LIMITS at: " << __FILE__ << ":" << __LINE__ << std::endl;
@@ -1351,6 +1366,11 @@
std::cerr << "Failed test for BOOST_NO_CXX11_SMART_PTR at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
+ if(0 != boost_no_cxx11_trailing_result_types::test())
+ {
+ std::cerr << "Failed test for BOOST_NO_CXX11_TRAILING_RESULT_TYPES at: " << __FILE__ << ":" << __LINE__ << std::endl;
+ ++error_count;
+ }
if(0 != boost_no_cxx11_user_defined_literals::test())
{
std::cerr << "Failed test for BOOST_NO_CXX11_USER_DEFINED_LITERALS at: " << __FILE__ << ":" << __LINE__ << std::endl;
Modified: trunk/libs/config/test/no_auto_declarations_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_auto_declarations_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_auto_declarations_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_auto_declarations::test();
+ return boost_no_cxx11_auto_declarations::test();
}
Modified: trunk/libs/config/test/no_auto_declarations_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_auto_declarations_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_auto_declarations_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_AUTO_DECLARATIONS
#include "boost_no_auto_declarations.ipp"
#else
-namespace boost_no_auto_declarations = empty_boost;
+namespace boost_no_cxx11_auto_declarations = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_auto_declarations::test();
+ return boost_no_cxx11_auto_declarations::test();
}
Modified: trunk/libs/config/test/no_auto_multidecl_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_auto_multidecl_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_auto_multidecl_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_auto_multideclarations::test();
+ return boost_no_cxx11_auto_multideclarations::test();
}
Modified: trunk/libs/config/test/no_auto_multidecl_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_auto_multidecl_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_auto_multidecl_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
#include "boost_no_auto_multidecl.ipp"
#else
-namespace boost_no_auto_multideclarations = empty_boost;
+namespace boost_no_cxx11_auto_multideclarations = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_auto_multideclarations::test();
+ return boost_no_cxx11_auto_multideclarations::test();
}
Modified: trunk/libs/config/test/no_char16_t_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_char16_t_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_char16_t_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_char16_t::test();
+ return boost_no_cxx11_char16_t::test();
}
Modified: trunk/libs/config/test/no_char16_t_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_char16_t_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_char16_t_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_CHAR16_T
#include "boost_no_char16_t.ipp"
#else
-namespace boost_no_char16_t = empty_boost;
+namespace boost_no_cxx11_char16_t = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_char16_t::test();
+ return boost_no_cxx11_char16_t::test();
}
Modified: trunk/libs/config/test/no_char32_t_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_char32_t_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_char32_t_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_char32_t::test();
+ return boost_no_cxx11_char32_t::test();
}
Modified: trunk/libs/config/test/no_char32_t_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_char32_t_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_char32_t_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_CHAR32_T
#include "boost_no_char32_t.ipp"
#else
-namespace boost_no_char32_t = empty_boost;
+namespace boost_no_cxx11_char32_t = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_char32_t::test();
+ return boost_no_cxx11_char32_t::test();
}
Modified: trunk/libs/config/test/no_constexpr_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_constexpr_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_constexpr_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_constexpr::test();
+ return boost_no_cxx11_constexpr::test();
}
Modified: trunk/libs/config/test/no_constexpr_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_constexpr_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_constexpr_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_CONSTEXPR
#include "boost_no_constexpr.ipp"
#else
-namespace boost_no_constexpr = empty_boost;
+namespace boost_no_cxx11_constexpr = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_constexpr::test();
+ return boost_no_cxx11_constexpr::test();
}
Added: trunk/libs/config/test/no_cxx11_inline_namespaces_fail.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/libs/config/test/no_cxx11_inline_namespaces_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Sun Apr 28 18:36:48 2013
+// by libs/config/tools/generate.cpp
+// Copyright John Maddock 2002-4.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_CXX11_INLINE_NAMESPACES
+// This file should not compile, if it does then
+// BOOST_NO_CXX11_INLINE_NAMESPACES should not be defined.
+// See file boost_no_cxx11_inline_namespaces.ipp for details
+
+// Must not have BOOST_ASSERT_CONFIG set; it defeats
+// the objective of this file:
+#ifdef BOOST_ASSERT_CONFIG
+# undef BOOST_ASSERT_CONFIG
+#endif
+
+#include <boost/config.hpp>
+#include "test.hpp"
+
+#ifdef BOOST_NO_CXX11_INLINE_NAMESPACES
+#include "boost_no_cxx11_inline_namespaces.ipp"
+#else
+#error "this file should not compile"
+#endif
+
+int main( int, char *[] )
+{
+ return boost_no_cxx11_inline_namespaces::test();
+}
+
Added: trunk/libs/config/test/no_cxx11_inline_namespaces_pass.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/libs/config/test/no_cxx11_inline_namespaces_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Sun Apr 28 18:36:48 2013
+// by libs/config/tools/generate.cpp
+// Copyright John Maddock 2002-4.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_CXX11_INLINE_NAMESPACES
+// This file should compile, if it does not then
+// BOOST_NO_CXX11_INLINE_NAMESPACES should be defined.
+// See file boost_no_cxx11_inline_namespaces.ipp for details
+
+// Must not have BOOST_ASSERT_CONFIG set; it defeats
+// the objective of this file:
+#ifdef BOOST_ASSERT_CONFIG
+# undef BOOST_ASSERT_CONFIG
+#endif
+
+#include <boost/config.hpp>
+#include "test.hpp"
+
+#ifndef BOOST_NO_CXX11_INLINE_NAMESPACES
+#include "boost_no_cxx11_inline_namespaces.ipp"
+#else
+namespace boost_no_cxx11_inline_namespaces = empty_boost;
+#endif
+
+int main( int, char *[] )
+{
+ return boost_no_cxx11_inline_namespaces::test();
+}
+
Added: trunk/libs/config/test/no_cxx11_trailing_result_types_fail.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/libs/config/test/no_cxx11_trailing_result_types_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Sun Apr 28 18:36:48 2013
+// by libs/config/tools/generate.cpp
+// Copyright John Maddock 2002-4.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+// This file should not compile, if it does then
+// BOOST_NO_CXX11_TRAILING_RESULT_TYPES should not be defined.
+// See file boost_no_cxx11_trailing_result_types.ipp for details
+
+// Must not have BOOST_ASSERT_CONFIG set; it defeats
+// the objective of this file:
+#ifdef BOOST_ASSERT_CONFIG
+# undef BOOST_ASSERT_CONFIG
+#endif
+
+#include <boost/config.hpp>
+#include "test.hpp"
+
+#ifdef BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+#include "boost_no_cxx11_trailing_result_types.ipp"
+#else
+#error "this file should not compile"
+#endif
+
+int main( int, char *[] )
+{
+ return boost_no_cxx11_trailing_result_types::test();
+}
+
Added: trunk/libs/config/test/no_cxx11_trailing_result_types_pass.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/libs/config/test/no_cxx11_trailing_result_types_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Sun Apr 28 18:36:48 2013
+// by libs/config/tools/generate.cpp
+// Copyright John Maddock 2002-4.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+// This file should compile, if it does not then
+// BOOST_NO_CXX11_TRAILING_RESULT_TYPES should be defined.
+// See file boost_no_cxx11_trailing_result_types.ipp for details
+
+// Must not have BOOST_ASSERT_CONFIG set; it defeats
+// the objective of this file:
+#ifdef BOOST_ASSERT_CONFIG
+# undef BOOST_ASSERT_CONFIG
+#endif
+
+#include <boost/config.hpp>
+#include "test.hpp"
+
+#ifndef BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+#include "boost_no_cxx11_trailing_result_types.ipp"
+#else
+namespace boost_no_cxx11_trailing_result_types = empty_boost;
+#endif
+
+int main( int, char *[] )
+{
+ return boost_no_cxx11_trailing_result_types::test();
+}
+
Modified: trunk/libs/config/test/no_decltype_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_decltype_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_decltype_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_decltype::test();
+ return boost_no_cxx11_decltype::test();
}
Modified: trunk/libs/config/test/no_decltype_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_decltype_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_decltype_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_DECLTYPE
#include "boost_no_decltype.ipp"
#else
-namespace boost_no_decltype = empty_boost;
+namespace boost_no_cxx11_decltype = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_decltype::test();
+ return boost_no_cxx11_decltype::test();
}
Modified: trunk/libs/config/test/no_defaulted_functions_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_defaulted_functions_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_defaulted_functions_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_defaulted_functions::test();
+ return boost_no_cxx11_defaulted_functions::test();
}
Modified: trunk/libs/config/test/no_defaulted_functions_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_defaulted_functions_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_defaulted_functions_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
#include "boost_no_defaulted_functions.ipp"
#else
-namespace boost_no_defaulted_functions = empty_boost;
+namespace boost_no_cxx11_defaulted_functions = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_defaulted_functions::test();
+ return boost_no_cxx11_defaulted_functions::test();
}
Modified: trunk/libs/config/test/no_deleted_functions_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_deleted_functions_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_deleted_functions_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_deleted_functions::test();
+ return boost_no_cxx11_deleted_functions::test();
}
Modified: trunk/libs/config/test/no_deleted_functions_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_deleted_functions_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_deleted_functions_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_DELETED_FUNCTIONS
#include "boost_no_deleted_functions.ipp"
#else
-namespace boost_no_deleted_functions = empty_boost;
+namespace boost_no_cxx11_deleted_functions = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_deleted_functions::test();
+ return boost_no_cxx11_deleted_functions::test();
}
Modified: trunk/libs/config/test/no_explicit_cvt_ops_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_explicit_cvt_ops_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_explicit_cvt_ops_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_explicit_conversion_operators::test();
+ return boost_no_cxx11_explicit_conversion_operators::test();
}
Modified: trunk/libs/config/test/no_explicit_cvt_ops_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_explicit_cvt_ops_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_explicit_cvt_ops_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
#include "boost_no_explicit_cvt_ops.ipp"
#else
-namespace boost_no_explicit_conversion_operators = empty_boost;
+namespace boost_no_cxx11_explicit_conversion_operators = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_explicit_conversion_operators::test();
+ return boost_no_cxx11_explicit_conversion_operators::test();
}
Modified: trunk/libs/config/test/no_extern_template_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_extern_template_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_extern_template_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_extern_template::test();
+ return boost_no_cxx11_extern_template::test();
}
Modified: trunk/libs/config/test/no_extern_template_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_extern_template_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_extern_template_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_EXTERN_TEMPLATE
#include "boost_no_extern_template.ipp"
#else
-namespace boost_no_extern_template = empty_boost;
+namespace boost_no_cxx11_extern_template = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_extern_template::test();
+ return boost_no_cxx11_extern_template::test();
}
Modified: trunk/libs/config/test/no_function_template_default_args_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_function_template_default_args_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_function_template_default_args_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_function_template_default_args::test();
+ return boost_no_cxx11_function_template_default_args::test();
}
Modified: trunk/libs/config/test/no_function_template_default_args_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_function_template_default_args_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_function_template_default_args_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
#include "boost_no_function_template_default_args.ipp"
#else
-namespace boost_no_function_template_default_args = empty_boost;
+namespace boost_no_cxx11_function_template_default_args = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_function_template_default_args::test();
+ return boost_no_cxx11_function_template_default_args::test();
}
Modified: trunk/libs/config/test/no_lambdas_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_lambdas_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_lambdas_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_lambdas::test();
+ return boost_no_cxx11_lambdas::test();
}
Modified: trunk/libs/config/test/no_lambdas_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_lambdas_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_lambdas_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_LAMBDAS
#include "boost_no_lambdas.ipp"
#else
-namespace boost_no_lambdas = empty_boost;
+namespace boost_no_cxx11_lambdas = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_lambdas::test();
+ return boost_no_cxx11_lambdas::test();
}
Modified: trunk/libs/config/test/no_noexcept_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_noexcept_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_noexcept_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_noexcept::test();
+ return boost_no_cxx11_noexcept::test();
}
Modified: trunk/libs/config/test/no_noexcept_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_noexcept_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_noexcept_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_NOEXCEPT
#include "boost_no_noexcept.ipp"
#else
-namespace boost_no_noexcept = empty_boost;
+namespace boost_no_cxx11_noexcept = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_noexcept::test();
+ return boost_no_cxx11_noexcept::test();
}
Modified: trunk/libs/config/test/no_nullptr_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_nullptr_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_nullptr_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_nullptr::test();
+ return boost_no_cxx11_nullptr::test();
}
Modified: trunk/libs/config/test/no_nullptr_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_nullptr_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_nullptr_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_NULLPTR
#include "boost_no_nullptr.ipp"
#else
-namespace boost_no_nullptr = empty_boost;
+namespace boost_no_cxx11_nullptr = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_nullptr::test();
+ return boost_no_cxx11_nullptr::test();
}
Modified: trunk/libs/config/test/no_raw_literals_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_raw_literals_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_raw_literals_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_raw_literals::test();
+ return boost_no_cxx11_raw_literals::test();
}
Modified: trunk/libs/config/test/no_raw_literals_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_raw_literals_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_raw_literals_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_RAW_LITERALS
#include "boost_no_raw_literals.ipp"
#else
-namespace boost_no_raw_literals = empty_boost;
+namespace boost_no_cxx11_raw_literals = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_raw_literals::test();
+ return boost_no_cxx11_raw_literals::test();
}
Modified: trunk/libs/config/test/no_rvalue_references_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_rvalue_references_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_rvalue_references_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_rvalue_references::test();
+ return boost_no_cxx11_rvalue_references::test();
}
Modified: trunk/libs/config/test/no_rvalue_references_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_rvalue_references_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_rvalue_references_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
#include "boost_no_rvalue_references.ipp"
#else
-namespace boost_no_rvalue_references = empty_boost;
+namespace boost_no_cxx11_rvalue_references = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_rvalue_references::test();
+ return boost_no_cxx11_rvalue_references::test();
}
Modified: trunk/libs/config/test/no_scoped_enums_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_scoped_enums_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_scoped_enums_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_scoped_enums::test();
+ return boost_no_cxx11_scoped_enums::test();
}
Modified: trunk/libs/config/test/no_scoped_enums_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_scoped_enums_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_scoped_enums_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_SCOPED_ENUMS
#include "boost_no_scoped_enums.ipp"
#else
-namespace boost_no_scoped_enums = empty_boost;
+namespace boost_no_cxx11_scoped_enums = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_scoped_enums::test();
+ return boost_no_cxx11_scoped_enums::test();
}
Modified: trunk/libs/config/test/no_static_assert_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_static_assert_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_static_assert_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_static_assert::test();
+ return boost_no_cxx11_static_assert::test();
}
Modified: trunk/libs/config/test/no_static_assert_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_static_assert_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_static_assert_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_STATIC_ASSERT
#include "boost_no_static_assert.ipp"
#else
-namespace boost_no_static_assert = empty_boost;
+namespace boost_no_cxx11_static_assert = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_static_assert::test();
+ return boost_no_cxx11_static_assert::test();
}
Modified: trunk/libs/config/test/no_tem_local_classes_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_tem_local_classes_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_tem_local_classes_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_local_class_template_parameters::test();
+ return boost_no_cxx11_local_class_template_parameters::test();
}
Modified: trunk/libs/config/test/no_tem_local_classes_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_tem_local_classes_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_tem_local_classes_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
#include "boost_no_tem_local_classes.ipp"
#else
-namespace boost_no_local_class_template_parameters = empty_boost;
+namespace boost_no_cxx11_local_class_template_parameters = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_local_class_template_parameters::test();
+ return boost_no_cxx11_local_class_template_parameters::test();
}
Modified: trunk/libs/config/test/no_template_aliases_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_template_aliases_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_template_aliases_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_template_aliases::test();
+ return boost_no_cxx11_template_aliases::test();
}
Modified: trunk/libs/config/test/no_template_aliases_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_template_aliases_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_template_aliases_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_TEMPLATE_ALIASES
#include "boost_no_template_aliases.ipp"
#else
-namespace boost_no_template_aliases = empty_boost;
+namespace boost_no_cxx11_template_aliases = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_template_aliases::test();
+ return boost_no_cxx11_template_aliases::test();
}
Modified: trunk/libs/config/test/no_unicode_literals_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_unicode_literals_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_unicode_literals_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_unicode_literals::test();
+ return boost_no_cxx11_unicode_literals::test();
}
Modified: trunk/libs/config/test/no_unicode_literals_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_unicode_literals_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_unicode_literals_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_UNICODE_LITERALS
#include "boost_no_unicode_literals.ipp"
#else
-namespace boost_no_unicode_literals = empty_boost;
+namespace boost_no_cxx11_unicode_literals = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_unicode_literals::test();
+ return boost_no_cxx11_unicode_literals::test();
}
Modified: trunk/libs/config/test/no_unified_init_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_unified_init_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_unified_init_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_unified_initialization_syntax::test();
+ return boost_no_cxx11_unified_initialization_syntax::test();
}
Modified: trunk/libs/config/test/no_unified_init_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_unified_init_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_unified_init_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#include "boost_no_unified_init.ipp"
#else
-namespace boost_no_unified_initialization_syntax = empty_boost;
+namespace boost_no_cxx11_unified_initialization_syntax = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_unified_initialization_syntax::test();
+ return boost_no_cxx11_unified_initialization_syntax::test();
}
Modified: trunk/libs/config/test/no_variadic_macros_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_variadic_macros_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_variadic_macros_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_variadic_macros::test();
+ return boost_no_cxx11_variadic_macros::test();
}
Modified: trunk/libs/config/test/no_variadic_macros_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_variadic_macros_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_variadic_macros_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_VARIADIC_MACROS
#include "boost_no_variadic_macros.ipp"
#else
-namespace boost_no_variadic_macros = empty_boost;
+namespace boost_no_cxx11_variadic_macros = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_variadic_macros::test();
+ return boost_no_cxx11_variadic_macros::test();
}
Modified: trunk/libs/config/test/no_variadic_templates_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_variadic_templates_fail.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_variadic_templates_fail.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_variadic_templates::test();
+ return boost_no_cxx11_variadic_templates::test();
}
Modified: trunk/libs/config/test/no_variadic_templates_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_variadic_templates_pass.cpp Fri Jun 21 20:36:31 2013 (r84872)
+++ trunk/libs/config/test/no_variadic_templates_pass.cpp 2013-06-22 08:23:09 EDT (Sat, 22 Jun 2013) (r84873)
@@ -27,11 +27,11 @@
#ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES
#include "boost_no_variadic_templates.ipp"
#else
-namespace boost_no_variadic_templates = empty_boost;
+namespace boost_no_cxx11_variadic_templates = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_no_variadic_templates::test();
+ return boost_no_cxx11_variadic_templates::test();
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk