|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85088 - in branches/release: boost boost/config boost/config/compiler libs/config libs/config/doc libs/config/test libs/config/test/all
From: andrey.semashev_at_[hidden]
Date: 2013-07-20 13:17:10
Author: andysem
Date: 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013)
New Revision: 85088
URL: http://svn.boost.org/trac/boost/changeset/85088
Log:
Merged recent changes from trunk.
Added:
branches/release/libs/config/test/boost_no_cxx11_alignas.ipp
- copied unchanged from r85087, trunk/libs/config/test/boost_no_cxx11_alignas.ipp
branches/release/libs/config/test/boost_no_cxx11_inline_namespaces.ipp
- copied unchanged from r85087, trunk/libs/config/test/boost_no_cxx11_inline_namespaces.ipp
branches/release/libs/config/test/boost_no_cxx11_trailing_result_types.ipp
- copied unchanged from r85087, trunk/libs/config/test/boost_no_cxx11_trailing_result_types.ipp
branches/release/libs/config/test/no_cxx11_alignas_fail.cpp
- copied unchanged from r85087, trunk/libs/config/test/no_cxx11_alignas_fail.cpp
branches/release/libs/config/test/no_cxx11_alignas_pass.cpp
- copied unchanged from r85087, trunk/libs/config/test/no_cxx11_alignas_pass.cpp
branches/release/libs/config/test/no_cxx11_inline_namespaces_fail.cpp
- copied unchanged from r85087, trunk/libs/config/test/no_cxx11_inline_namespaces_fail.cpp
branches/release/libs/config/test/no_cxx11_inline_namespaces_pass.cpp
- copied unchanged from r85087, trunk/libs/config/test/no_cxx11_inline_namespaces_pass.cpp
branches/release/libs/config/test/no_cxx11_trailing_result_types_fail.cpp
- copied unchanged from r85087, trunk/libs/config/test/no_cxx11_trailing_result_types_fail.cpp
branches/release/libs/config/test/no_cxx11_trailing_result_types_pass.cpp
- copied unchanged from r85087, trunk/libs/config/test/no_cxx11_trailing_result_types_pass.cpp
Properties modified:
branches/release/boost/assert.hpp (contents, props changed)
branches/release/boost/config/ (props changed)
branches/release/boost/cstdint.hpp (contents, props changed)
branches/release/libs/config/ (props changed)
Text files modified:
branches/release/boost/assert.hpp | 31 +++--
branches/release/boost/config/compiler/borland.hpp | 11 -
branches/release/boost/config/compiler/clang.hpp | 44 +++++-
branches/release/boost/config/compiler/codegear.hpp | 11 +
branches/release/boost/config/compiler/common_edg.hpp | 26 +++-
branches/release/boost/config/compiler/cray.hpp | 5
branches/release/boost/config/compiler/digitalmars.hpp | 7
branches/release/boost/config/compiler/gcc.hpp | 50 ++++++--
branches/release/boost/config/compiler/gcc_xml.hpp | 13 +
branches/release/boost/config/compiler/hp_acc.hpp | 21 ++-
branches/release/boost/config/compiler/intel.hpp | 22 ++-
branches/release/boost/config/compiler/metrowerks.hpp | 23 ++-
branches/release/boost/config/compiler/mpw.hpp | 11 +
branches/release/boost/config/compiler/pathscale.hpp | 8
branches/release/boost/config/compiler/pgi.hpp | 3
branches/release/boost/config/compiler/sunpro_cc.hpp | 23 ++-
branches/release/boost/config/compiler/vacpp.hpp | 28 ++--
branches/release/boost/config/compiler/visualc.hpp | 47 ++++---
branches/release/boost/config/suffix.hpp | 100 +++++++++++++++--
branches/release/boost/cstdint.hpp | 221 +++++++++++++++++++++++----------------
branches/release/libs/config/doc/macro_reference.qbk | 162 ++++++++++++++++++++++++----
branches/release/libs/config/test/all/Jamfile.v2 | 15 ++
branches/release/libs/config/test/boost_no_cxx11_alignas.ipp | 36 ++++++
branches/release/libs/config/test/boost_no_cxx11_inline_namespaces.ipp | 30 +++++
branches/release/libs/config/test/boost_no_cxx11_trailing_result_types.ipp | 26 ++++
branches/release/libs/config/test/config_info.cpp | 4
branches/release/libs/config/test/config_test.cpp | 30 +++++
branches/release/libs/config/test/no_auto_declarations_fail.cpp | 2
branches/release/libs/config/test/no_auto_declarations_pass.cpp | 4
branches/release/libs/config/test/no_auto_multidecl_fail.cpp | 2
branches/release/libs/config/test/no_auto_multidecl_pass.cpp | 4
branches/release/libs/config/test/no_char16_t_fail.cpp | 2
branches/release/libs/config/test/no_char16_t_pass.cpp | 4
branches/release/libs/config/test/no_char32_t_fail.cpp | 2
branches/release/libs/config/test/no_char32_t_pass.cpp | 4
branches/release/libs/config/test/no_constexpr_fail.cpp | 2
branches/release/libs/config/test/no_constexpr_pass.cpp | 4
branches/release/libs/config/test/no_cxx11_alignas_fail.cpp | 37 ++++++
branches/release/libs/config/test/no_cxx11_alignas_pass.cpp | 37 ++++++
branches/release/libs/config/test/no_cxx11_inline_namespaces_fail.cpp | 37 ++++++
branches/release/libs/config/test/no_cxx11_inline_namespaces_pass.cpp | 37 ++++++
branches/release/libs/config/test/no_cxx11_trailing_result_types_fail.cpp | 37 ++++++
branches/release/libs/config/test/no_cxx11_trailing_result_types_pass.cpp | 37 ++++++
branches/release/libs/config/test/no_decltype_fail.cpp | 2
branches/release/libs/config/test/no_decltype_pass.cpp | 4
branches/release/libs/config/test/no_defaulted_functions_fail.cpp | 2
branches/release/libs/config/test/no_defaulted_functions_pass.cpp | 4
branches/release/libs/config/test/no_deleted_functions_fail.cpp | 2
branches/release/libs/config/test/no_deleted_functions_pass.cpp | 4
branches/release/libs/config/test/no_explicit_cvt_ops_fail.cpp | 2
branches/release/libs/config/test/no_explicit_cvt_ops_pass.cpp | 4
branches/release/libs/config/test/no_extern_template_fail.cpp | 2
branches/release/libs/config/test/no_extern_template_pass.cpp | 4
branches/release/libs/config/test/no_function_template_default_args_fail.cpp | 2
branches/release/libs/config/test/no_function_template_default_args_pass.cpp | 4
branches/release/libs/config/test/no_lambdas_fail.cpp | 2
branches/release/libs/config/test/no_lambdas_pass.cpp | 4
branches/release/libs/config/test/no_noexcept_fail.cpp | 2
branches/release/libs/config/test/no_noexcept_pass.cpp | 4
branches/release/libs/config/test/no_nullptr_fail.cpp | 2
branches/release/libs/config/test/no_nullptr_pass.cpp | 4
branches/release/libs/config/test/no_raw_literals_fail.cpp | 2
branches/release/libs/config/test/no_raw_literals_pass.cpp | 4
branches/release/libs/config/test/no_rvalue_references_fail.cpp | 2
branches/release/libs/config/test/no_rvalue_references_pass.cpp | 4
branches/release/libs/config/test/no_scoped_enums_fail.cpp | 2
branches/release/libs/config/test/no_scoped_enums_pass.cpp | 4
branches/release/libs/config/test/no_static_assert_fail.cpp | 2
branches/release/libs/config/test/no_static_assert_pass.cpp | 4
branches/release/libs/config/test/no_tem_local_classes_fail.cpp | 2
branches/release/libs/config/test/no_tem_local_classes_pass.cpp | 4
branches/release/libs/config/test/no_template_aliases_fail.cpp | 2
branches/release/libs/config/test/no_template_aliases_pass.cpp | 4
branches/release/libs/config/test/no_unicode_literals_fail.cpp | 2
branches/release/libs/config/test/no_unicode_literals_pass.cpp | 4
branches/release/libs/config/test/no_unified_init_fail.cpp | 2
branches/release/libs/config/test/no_unified_init_pass.cpp | 4
branches/release/libs/config/test/no_variadic_macros_fail.cpp | 2
branches/release/libs/config/test/no_variadic_macros_pass.cpp | 4
branches/release/libs/config/test/no_variadic_templates_fail.cpp | 2
branches/release/libs/config/test/no_variadic_templates_pass.cpp | 4
81 files changed, 1027 insertions(+), 347 deletions(-)
Modified: branches/release/boost/assert.hpp
==============================================================================
--- branches/release/boost/assert.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/assert.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -34,6 +34,7 @@
#elif defined(BOOST_ENABLE_ASSERT_HANDLER)
+#include <boost/config.hpp>
#include <boost/current_function.hpp>
namespace boost
@@ -42,7 +43,7 @@
char const * function, char const * file, long line); // user defined
} // namespace boost
-#define BOOST_ASSERT(expr) ((expr) \
+#define BOOST_ASSERT(expr) (BOOST_LIKELY(!!(expr)) \
? ((void)0) \
: ::boost::assertion_failed(#expr, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
@@ -63,6 +64,7 @@
#elif defined(BOOST_ENABLE_ASSERT_HANDLER)
+ #include <boost/config.hpp>
#include <boost/current_function.hpp>
namespace boost
@@ -71,7 +73,7 @@
char const * function, char const * file, long line); // user defined
} // namespace boost
- #define BOOST_ASSERT_MSG(expr, msg) ((expr) \
+ #define BOOST_ASSERT_MSG(expr, msg) (BOOST_LIKELY(!!(expr)) \
? ((void)0) \
: ::boost::assertion_failed_msg(#expr, msg, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
@@ -80,6 +82,7 @@
#define BOOST_ASSERT_HPP
#include <cstdlib>
#include <iostream>
+ #include <boost/config.hpp>
#include <boost/current_function.hpp>
// IDE's like Visual Studio perform better if output goes to std::cout or
@@ -89,31 +92,33 @@
#endif
namespace boost
- {
- namespace assertion
- {
+ {
+ namespace assertion
+ {
namespace detail
{
- inline void assertion_failed_msg(char const * expr, char const * msg, char const * function,
+ // Note: The template is needed to make the function non-inline and avoid linking errors
+ template< typename CharT >
+ BOOST_NOINLINE void assertion_failed_msg(CharT const * expr, char const * msg, char const * function,
char const * file, long line)
{
BOOST_ASSERT_MSG_OSTREAM
<< "***** Internal Program Error - assertion (" << expr << ") failed in "
<< function << ":\n"
<< file << '(' << line << "): " << msg << std::endl;
- #ifdef UNDER_CE
- // The Windows CE CRT library does not have abort() so use exit(-1) instead.
- std::exit(-1);
- #else
- std::abort();
- #endif
+#ifdef UNDER_CE
+ // The Windows CE CRT library does not have abort() so use exit(-1) instead.
+ std::exit(-1);
+#else
+ std::abort();
+#endif
}
} // detail
} // assertion
} // detail
#endif
- #define BOOST_ASSERT_MSG(expr, msg) ((expr) \
+ #define BOOST_ASSERT_MSG(expr, msg) (BOOST_LIKELY(!!(expr)) \
? ((void)0) \
: ::boost::assertion::detail::assertion_failed_msg(#expr, msg, \
BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
Modified: branches/release/boost/config/compiler/borland.hpp
==============================================================================
--- branches/release/boost/config/compiler/borland.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/borland.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -155,7 +155,7 @@
# 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_RVALUE_REFERENCES
# define BOOST_NO_CXX11_SCOPED_ENUMS
# define BOOST_NO_CXX11_STATIC_ASSERT
#else
@@ -191,6 +191,9 @@
#define BOOST_NO_CXX11_NOEXCEPT
#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
@@ -243,7 +246,7 @@
// all versions support __declspec:
//
#if defined(__STRICT_ANSI__)
-// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined
+// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined
# define BOOST_SYMBOL_EXPORT
#endif
//
@@ -282,7 +285,3 @@
#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
#define BOOST_COMPILER "Borland C++ version " BOOST_STRINGIZE(__BORLANDC__)
-
-
-
-
Modified: branches/release/boost/config/compiler/clang.hpp
==============================================================================
--- branches/release/boost/config/compiler/clang.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/clang.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -1,13 +1,15 @@
// (C) Copyright Douglas Gregor 2010
//
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
+// 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 for most recent version.
// Clang compiler setup.
+#define BOOST_HAS_PRAGMA_ONCE
+
#if !__has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS)
# define BOOST_NO_EXCEPTIONS
#endif
@@ -26,6 +28,14 @@
#define BOOST_HAS_NRVO
+// Branch prediction hints
+#if defined(__has_builtin)
+#if __has_builtin(__builtin_expect)
+#define BOOST_LIKELY(x) __builtin_expect(x, 1)
+#define BOOST_UNLIKELY(x) __builtin_expect(x, 0)
+#endif
+#endif
+
// Clang supports "long long" in all compilation modes.
#define BOOST_HAS_LONG_LONG
@@ -38,15 +48,15 @@
# define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
#endif
-//
-// The BOOST_FALLTHROUGH macro can be used to annotate implicit fall-through
-// between switch labels.
-//
-#if __cplusplus >= 201103L && defined(__has_warning)
-# if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
-# define BOOST_FALLTHROUGH [[clang::fallthrough]]
-# endif
-#endif
+//
+// The BOOST_FALLTHROUGH macro can be used to annotate implicit fall-through
+// between switch labels.
+//
+#if __cplusplus >= 201103L && defined(__has_warning)
+# if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
+# define BOOST_FALLTHROUGH [[clang::fallthrough]]
+# endif
+#endif
#if !__has_feature(cxx_auto_type)
# define BOOST_NO_CXX11_AUTO_DECLARATIONS
@@ -146,6 +156,18 @@
# define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#endif
+#if !(__has_feature(cxx_alignas) || __has_extension(cxx_alignas))
+# 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: branches/release/boost/config/compiler/codegear.hpp
==============================================================================
--- branches/release/boost/config/compiler/codegear.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/codegear.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -72,6 +72,12 @@
# endif
#endif
+
+// Reportedly, #pragma once is supported since C++ Builder 2010
+#if (__CODEGEARC__ >= 0x620)
+# define BOOST_HAS_PRAGMA_ONCE
+#endif
+
//
// C++0x macros:
//
@@ -111,6 +117,9 @@
#define BOOST_NO_CXX11_VARIADIC_TEMPLATES
#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:
@@ -151,7 +160,7 @@
// all versions support __declspec:
//
#if defined(__STRICT_ANSI__)
-// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined
+// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined
# define BOOST_SYMBOL_EXPORT
#endif
//
Modified: branches/release/boost/config/compiler/common_edg.hpp
==============================================================================
--- branches/release/boost/config/compiler/common_edg.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/common_edg.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -1,10 +1,10 @@
-// (C) Copyright John Maddock 2001 - 2002.
-// (C) Copyright Jens Maurer 2001.
-// (C) Copyright David Abrahams 2002.
-// (C) Copyright Aleksey Gurtovoy 2002.
+// (C) Copyright John Maddock 2001 - 2002.
+// (C) Copyright Jens Maurer 2001.
+// (C) Copyright David Abrahams 2002.
+// (C) Copyright Aleksey Gurtovoy 2002.
// (C) Copyright Markus Schoepflin 2005.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
+// 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 for most recent version.
@@ -33,15 +33,15 @@
#if (__EDG_VERSION__ <= 244) && !defined(BOOST_NO_TEMPLATE_TEMPLATES)
# define BOOST_NO_TEMPLATE_TEMPLATES
-#endif
+#endif
#if (__EDG_VERSION__ < 300) && !defined(BOOST_NO_IS_ABSTRACT)
# define BOOST_NO_IS_ABSTRACT
-#endif
+#endif
#if (__EDG_VERSION__ <= 303) && !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL)
# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
-#endif
+#endif
// See also kai.hpp which checks a Kai-specific symbol for EH
# if !defined(__KCC) && !defined(__EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS)
@@ -54,6 +54,11 @@
# define BOOST_NO_LONG_LONG
# endif
+// Not sure what version was the first to support #pragma once, but
+// different EDG-based compilers (e.g. Intel) supported it for ages.
+// Add a proper version check if it causes problems.
+#define BOOST_HAS_PRAGMA_ONCE
+
//
// C++0x features
//
@@ -96,6 +101,9 @@
#define BOOST_NO_CXX11_VARIADIC_TEMPLATES
#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
#ifdef c_plusplus
// EDG has "long long" in non-strict mode
Modified: branches/release/boost/config/compiler/cray.hpp
==============================================================================
--- branches/release/boost/config/compiler/cray.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/cray.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -55,10 +55,11 @@
#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
#define BOOST_NO_CXX11_CHAR32_T
#define BOOST_NO_CXX11_CHAR16_T
+#define BOOST_NO_CXX11_ALIGNAS
//#define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG
#define BOOST_MATH_DISABLE_STD_FPCLASSIFY
//#define BOOST_HAS_FPCLASSIFY
-#define BOOST_SP_USE_PTHREADS
-#define BOOST_AC_USE_PTHREADS
+#define BOOST_SP_USE_PTHREADS
+#define BOOST_AC_USE_PTHREADS
Modified: branches/release/boost/config/compiler/digitalmars.hpp
==============================================================================
--- branches/release/boost/config/compiler/digitalmars.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/digitalmars.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -1,8 +1,8 @@
// Copyright (C) Christof Meerwald 2003
// Copyright (C) Dan Watkins 2003
//
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
+// 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)
// Digital Mars C++ compiler setup:
@@ -87,6 +87,9 @@
#define BOOST_NO_CXX11_VARIADIC_TEMPLATES
#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: branches/release/boost/config/compiler/gcc.hpp
==============================================================================
--- branches/release/boost/config/compiler/gcc.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/gcc.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -1,12 +1,12 @@
-// (C) Copyright John Maddock 2001 - 2003.
-// (C) Copyright Darin Adler 2001 - 2002.
-// (C) Copyright Jens Maurer 2001 - 2002.
-// (C) Copyright Beman Dawes 2001 - 2003.
-// (C) Copyright Douglas Gregor 2002.
-// (C) Copyright David Abrahams 2002 - 2003.
-// (C) Copyright Synge Todo 2003.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
+// (C) Copyright John Maddock 2001 - 2003.
+// (C) Copyright Darin Adler 2001 - 2002.
+// (C) Copyright Jens Maurer 2001 - 2002.
+// (C) Copyright Beman Dawes 2001 - 2003.
+// (C) Copyright Douglas Gregor 2002.
+// (C) Copyright David Abrahams 2002 - 2003.
+// (C) Copyright Synge Todo 2003.
+// 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 for most recent version.
@@ -80,6 +80,11 @@
# endif
#endif
+// GCC prior to 3.4 had #pragma once too but it didn't work well with filesystem links
+#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
+#define BOOST_HAS_PRAGMA_ONCE
+#endif
+
#if __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 4 )
// Previous versions of GCC did not completely implement value-initialization:
// GCC Bug 30111, "Value-initialization of POD base class doesn't initialize
@@ -104,7 +109,7 @@
//
#if !defined(__MINGW32__) && !defined(linux) && !defined(__linux) && !defined(__linux__)
# define BOOST_HAS_THREADS
-#endif
+#endif
//
// gcc has "long long"
@@ -118,12 +123,16 @@
#define BOOST_HAS_NRVO
#endif
+// Branch prediction hints
+#define BOOST_LIKELY(x) __builtin_expect(x, 1)
+#define BOOST_UNLIKELY(x) __builtin_expect(x, 0)
+
//
// Dynamic shared object (DSO) and dynamic-link library (DLL) support
//
#if __GNUC__ >= 4
# if (defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) && !defined(__CYGWIN__)
- // All Win32 development environments, including 64-bit Windows and MinGW, define
+ // All Win32 development environments, including 64-bit Windows and MinGW, define
// _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment,
// so does not define _WIN32 or its variants.
# define BOOST_HAS_DECLSPEC
@@ -135,7 +144,7 @@
# endif
# define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default")))
#else
-// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined
+// config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined
# define BOOST_SYMBOL_EXPORT
#endif
@@ -158,7 +167,7 @@
//
// We disable this if the compiler is really nvcc as it
// doesn't actually support __int128 as of CUDA_VERSION=5000
-// even though it defines __SIZEOF_INT128__.
+// even though it defines __SIZEOF_INT128__.
// See https://svn.boost.org/trac/boost/ticket/8048
// Only re-enable this for nvcc if you're absolutely sure
// of the circumstances under which it's supported:
@@ -183,7 +192,7 @@
# define BOOST_NO_CXX11_RVALUE_REFERENCES
# define BOOST_NO_CXX11_STATIC_ASSERT
-// Variadic templates compiler:
+// 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
@@ -202,12 +211,19 @@
# 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)
# define BOOST_NO_SFINAE_EXPR
#endif
+// GCC 4.5 forbids declaration of defaulted functions in private or protected sections
+#if !defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) && (__GNUC__ == 4 && __GNUC_MINOR__ <= 5)
+# define BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS
+#endif
+
// C++0x features in 4.5.0 and later
//
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
@@ -243,6 +259,12 @@
# define BOOST_NO_CXX11_USER_DEFINED_LITERALS
#endif
+// C++0x features in 4.8.n and later
+//
+#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
+# define BOOST_NO_CXX11_ALIGNAS
+#endif
+
// C++0x features in 4.8.1 and later
//
#if (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__ < 40801) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
Modified: branches/release/boost/config/compiler/gcc_xml.hpp
==============================================================================
--- branches/release/boost/config/compiler/gcc_xml.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/gcc_xml.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -1,6 +1,6 @@
-// (C) Copyright John Maddock 2006.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
+// (C) Copyright John Maddock 2006.
+// 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 for most recent version.
@@ -18,7 +18,7 @@
//
#if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(linux) && !defined(__linux) && !defined(__linux__)
# define BOOST_HAS_THREADS
-#endif
+#endif
//
// gcc has "long long"
@@ -44,7 +44,7 @@
# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
# define BOOST_NO_CXX11_DELETED_FUNCTIONS
# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
-# define BOOST_NO_CXX11_SCOPED_ENUMS
+# define BOOST_NO_CXX11_SCOPED_ENUMS
# define BOOST_NO_SFINAE_EXPR
# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
# define BOOST_NO_CXX11_LAMBDAS
@@ -55,6 +55,9 @@
# define BOOST_NO_CXX11_NOEXCEPT
# 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: branches/release/boost/config/compiler/hp_acc.hpp
==============================================================================
--- branches/release/boost/config/compiler/hp_acc.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/hp_acc.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -1,11 +1,11 @@
-// (C) Copyright John Maddock 2001 - 2003.
-// (C) Copyright Jens Maurer 2001 - 2003.
-// (C) Copyright Aleksey Gurtovoy 2002.
-// (C) Copyright David Abrahams 2002 - 2003.
-// (C) Copyright Toon Knapen 2003.
+// (C) Copyright John Maddock 2001 - 2003.
+// (C) Copyright Jens Maurer 2001 - 2003.
+// (C) Copyright Aleksey Gurtovoy 2002.
+// (C) Copyright David Abrahams 2002 - 2003.
+// (C) Copyright Toon Knapen 2003.
// (C) Copyright Boris Gubenko 2006 - 2007.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
+// 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 for most recent version.
@@ -43,7 +43,7 @@
# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
# define BOOST_NO_IS_ABSTRACT
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
-#endif
+#endif
// optional features rather than defects:
#if (__HP_aCC >= 33900)
@@ -119,8 +119,11 @@
#define BOOST_NO_CXX11_UNICODE_LITERALS
#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
https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1443436
*/
Modified: branches/release/boost/config/compiler/intel.hpp
==============================================================================
--- branches/release/boost/config/compiler/intel.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/intel.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -27,7 +27,7 @@
#endif
// Flags determined by comparing output of 'icpc -dM -E' with and without '-std=c++0x'
-#if (!(defined(_WIN32) || defined(_WIN64)) && defined(__STDC_HOSTED__) && (__STDC_HOSTED__ && (BOOST_INTEL_CXX_VERSION <= 1200))) || defined(__GXX_EXPERIMENTAL_CPP0X__)
+#if (!(defined(_WIN32) || defined(_WIN64)) && defined(__STDC_HOSTED__) && (__STDC_HOSTED__ && (BOOST_INTEL_CXX_VERSION <= 1200))) || defined(__GXX_EXPERIMENTAL_CPP0X__) || defined(__GXX_EXPERIMENTAL_CXX0X__)
# define BOOST_INTEL_STDCXX0X
#endif
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
@@ -154,6 +154,14 @@
# define BOOST_HAS_NRVO
#endif
+// Branch prediction hints
+// I'm not sure 8.0 was the first version to support these builtins,
+// update the condition if the version is not accurate. (Andrey Semashev)
+#if defined(__GNUC__) && BOOST_INTEL_CXX_VERSION >= 800
+#define BOOST_LIKELY(x) __builtin_expect(x, 1)
+#define BOOST_UNLIKELY(x) __builtin_expect(x, 0)
+#endif
+
//
// versions check:
// we don't support Intel prior to version 5.0:
@@ -173,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).
@@ -221,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
@@ -234,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)
@@ -247,6 +256,7 @@
# define BOOST_NO_CXX11_DELETED_FUNCTIONS
# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
# define BOOST_NO_CXX11_TEMPLATE_ALIASES
+# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
#endif
#if (BOOST_INTEL_CXX_VERSION < 1200)
Modified: branches/release/boost/config/compiler/metrowerks.hpp
==============================================================================
--- branches/release/boost/config/compiler/metrowerks.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/metrowerks.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -1,11 +1,11 @@
-// (C) Copyright John Maddock 2001.
-// (C) Copyright Darin Adler 2001.
-// (C) Copyright Peter Dimov 2001.
-// (C) Copyright David Abrahams 2001 - 2002.
-// (C) Copyright Beman Dawes 2001 - 2003.
-// (C) Copyright Stefan Slapeta 2004.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
+// (C) Copyright John Maddock 2001.
+// (C) Copyright Darin Adler 2001.
+// (C) Copyright Peter Dimov 2001.
+// (C) Copyright David Abrahams 2001 - 2002.
+// (C) Copyright Beman Dawes 2001 - 2003.
+// (C) Copyright Stefan Slapeta 2004.
+// 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 for most recent version.
@@ -15,7 +15,7 @@
// locale support is disabled when linking with the dynamic runtime
# ifdef _MSL_NO_LOCALE
# define BOOST_NO_STD_LOCALE
-# endif
+# endif
# if __MWERKS__ <= 0x2301 // 5.3
# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
@@ -90,7 +90,7 @@
#if __MWERKS__ > 0x3206 && __option(rvalue_refs)
# define BOOST_HAS_RVALUE_REFS
#else
-# define BOOST_NO_CXX11_RVALUE_REFERENCES
+# define BOOST_NO_CXX11_RVALUE_REFERENCES
#endif
#define BOOST_NO_CXX11_AUTO_DECLARATIONS
#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
@@ -120,6 +120,9 @@
#define BOOST_NO_CXX11_VARIADIC_MACROS
#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: branches/release/boost/config/compiler/mpw.hpp
==============================================================================
--- branches/release/boost/config/compiler/mpw.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/mpw.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -1,7 +1,7 @@
-// (C) Copyright John Maddock 2001 - 2002.
-// (C) Copyright Aleksey Gurtovoy 2002.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
+// (C) Copyright John Maddock 2001 - 2002.
+// (C) Copyright Aleksey Gurtovoy 2002.
+// 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 for most recent version.
@@ -69,6 +69,9 @@
#define BOOST_NO_CXX11_VARIADIC_MACROS
#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: branches/release/boost/config/compiler/pathscale.hpp
==============================================================================
--- branches/release/boost/config/compiler/pathscale.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/pathscale.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -1,7 +1,7 @@
// (C) Copyright Bryce Lelbach 2011
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
+// 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 for most recent version.
@@ -77,5 +77,7 @@
# define BOOST_NO_CXX11_HDR_CODECVT
# 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: branches/release/boost/config/compiler/pgi.hpp
==============================================================================
--- branches/release/boost/config/compiler/pgi.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/pgi.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -112,6 +112,9 @@
#define BOOST_NO_CXX11_HDR_CHRONO
#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: branches/release/boost/config/compiler/sunpro_cc.hpp
==============================================================================
--- branches/release/boost/config/compiler/sunpro_cc.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/sunpro_cc.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -1,10 +1,10 @@
-// (C) Copyright John Maddock 2001.
-// (C) Copyright Jens Maurer 2001 - 2003.
-// (C) Copyright Peter Dimov 2002.
-// (C) Copyright Aleksey Gurtovoy 2002 - 2003.
-// (C) Copyright David Abrahams 2002.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
+// (C) Copyright John Maddock 2001.
+// (C) Copyright Jens Maurer 2001 - 2003.
+// (C) Copyright Peter Dimov 2002.
+// (C) Copyright Aleksey Gurtovoy 2002 - 2003.
+// (C) Copyright David Abrahams 2002.
+// 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 for most recent version.
@@ -34,7 +34,7 @@
# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
# endif
-# if (__SUNPRO_CC <= 0x530)
+# if (__SUNPRO_CC <= 0x530)
// Requesting debug info (-g) with Boost.Python results
// in an internal compiler error for "static const"
// initialized in-class.
@@ -57,7 +57,7 @@
# define BOOST_NO_INTEGRAL_INT64_T
# endif
-# if (__SUNPRO_CC < 0x570)
+# if (__SUNPRO_CC < 0x570)
# define BOOST_NO_TEMPLATE_TEMPLATES
// see http://lists.boost.org/MailArchives/boost/msg47184.php
// and http://lists.boost.org/MailArchives/boost/msg47220.php
@@ -65,7 +65,7 @@
# define BOOST_NO_SFINAE
# define BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS
# endif
-# if (__SUNPRO_CC <= 0x580)
+# if (__SUNPRO_CC <= 0x580)
# define BOOST_NO_IS_ABSTRACT
# endif
@@ -128,6 +128,9 @@
#define BOOST_NO_CXX11_VARIADIC_MACROS
#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: branches/release/boost/config/compiler/vacpp.hpp
==============================================================================
--- branches/release/boost/config/compiler/vacpp.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/vacpp.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -1,10 +1,10 @@
-// (C) Copyright John Maddock 2001 - 2003.
-// (C) Copyright Toon Knapen 2001 - 2003.
-// (C) Copyright Lie-Quan Lee 2001.
-// (C) Copyright Markus Schoepflin 2002 - 2003.
-// (C) Copyright Beman Dawes 2002 - 2003.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
+// (C) Copyright John Maddock 2001 - 2003.
+// (C) Copyright Toon Knapen 2001 - 2003.
+// (C) Copyright Lie-Quan Lee 2001.
+// (C) Copyright Markus Schoepflin 2002 - 2003.
+// (C) Copyright Beman Dawes 2002 - 2003.
+// 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 for most recent version.
@@ -16,7 +16,7 @@
# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
#endif
-#if (__IBMCPP__ <= 502)
+#if (__IBMCPP__ <= 502)
// Actually the compiler supports inclass member initialization but it
// requires a definition for the class member and it doesn't recognize
// it as an integral constant expression when used as a template argument.
@@ -30,9 +30,9 @@
#endif
#if (__IBMCPP__ <= 1110)
-// XL C++ V11.1 and earlier versions may not always value-initialize
-// a temporary object T(), when T is a non-POD aggregate class type.
-// Michael Wong (IBM Canada Ltd) has confirmed this issue and gave it
+// XL C++ V11.1 and earlier versions may not always value-initialize
+// a temporary object T(), when T is a non-POD aggregate class type.
+// Michael Wong (IBM Canada Ltd) has confirmed this issue and gave it
// high priority. -- Niels Dekker (LKEB), May 2010.
# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
#endif
@@ -126,6 +126,6 @@
#if ! __C99_MACRO_WITH_VA_ARGS
# 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: branches/release/boost/config/compiler/visualc.hpp
==============================================================================
--- branches/release/boost/config/compiler/visualc.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/compiler/visualc.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -1,11 +1,11 @@
-// (C) Copyright John Maddock 2001 - 2003.
-// (C) Copyright Darin Adler 2001 - 2002.
-// (C) Copyright Peter Dimov 2001.
-// (C) Copyright Aleksey Gurtovoy 2002.
-// (C) Copyright David Abrahams 2002 - 2003.
-// (C) Copyright Beman Dawes 2002 - 2003.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
+// (C) Copyright John Maddock 2001 - 2003.
+// (C) Copyright Darin Adler 2001 - 2002.
+// (C) Copyright Peter Dimov 2001.
+// (C) Copyright Aleksey Gurtovoy 2002.
+// (C) Copyright David Abrahams 2002 - 2003.
+// (C) Copyright Beman Dawes 2002 - 2003.
+// 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 for most recent version.
@@ -34,6 +34,10 @@
// Attempt to suppress VC6 warnings about the length of decorated names (obsolete):
#pragma warning( disable : 4503 ) // warning: decorated name length exceeded
+#if _MSC_VER >= 1020
+# define BOOST_HAS_PRAGMA_ONCE
+#endif
+
//
// versions check:
// we don't support Visual C++ prior to version 6:
@@ -94,7 +98,7 @@
#endif
-#if _MSC_VER < 1400
+#if _MSC_VER < 1400
// although a conforming signature for swprint exists in VC7.1
// it appears not to actually work:
# define BOOST_NO_SWPRINTF
@@ -119,9 +123,9 @@
#endif
-// MSVC (including the latest checked version) has not yet completely
+// MSVC (including the latest checked version) has not yet completely
// implemented value-initialization, as is reported:
-// "VC++ does not value-initialize members of derived classes without
+// "VC++ does not value-initialize members of derived classes without
// user-declared constructor", reported in 2009 by Sylvester Hesp:
// https://connect.microsoft.com/VisualStudio/feedback/details/484295
// "Presence of copy constructor breaks member class initialization",
@@ -148,11 +152,11 @@
# define BOOST_HAS_GETSYSTEMTIMEASFILETIME
#endif
-//
-// check for exception handling support:
+//
+// check for exception handling support:
#if !defined(_CPPUNWIND) && !defined(BOOST_NO_EXCEPTIONS)
-# define BOOST_NO_EXCEPTIONS
-#endif
+# define BOOST_NO_EXCEPTIONS
+#endif
//
// __int64 support:
@@ -227,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
@@ -242,6 +247,8 @@
#define BOOST_NO_SFINAE_EXPR
#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:
@@ -255,7 +262,7 @@
#ifndef BOOST_COMPILER
// TODO:
-// these things are mostly bogus. 1200 means version 12.0 of the compiler. The
+// 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
// these compilers have been shipped with, and even that is not all of it. Some
// were shipped with freely downloadable SDKs, others as crosscompilers in eVC.
@@ -278,8 +285,8 @@
# define BOOST_COMPILER_VERSION evc9
# elif _MSC_VER < 1700
# define BOOST_COMPILER_VERSION evc10
-# elif _MSC_VER < 1800
-# define BOOST_COMPILER_VERSION evc11
+# elif _MSC_VER < 1800
+# define BOOST_COMPILER_VERSION evc11
# else
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown EVC++ compiler version - please run the configure tests and report the results"
@@ -303,8 +310,8 @@
# define BOOST_COMPILER_VERSION 9.0
# elif _MSC_VER < 1700
# define BOOST_COMPILER_VERSION 10.0
-# elif _MSC_VER < 1800
-# define BOOST_COMPILER_VERSION 11.0
+# elif _MSC_VER < 1800
+# define BOOST_COMPILER_VERSION 11.0
# else
# define BOOST_COMPILER_VERSION _MSC_VER
# endif
Modified: branches/release/boost/config/suffix.hpp
==============================================================================
--- branches/release/boost/config/suffix.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/config/suffix.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -4,7 +4,7 @@
// Copyright (c) 2001-2003 John Maddock
// Copyright (c) 2001 Darin Adler
// Copyright (c) 2001 Peter Dimov
-// Copyright (c) 2002 Bill Kempf
+// Copyright (c) 2002 Bill Kempf
// Copyright (c) 2002 Jens Maurer
// Copyright (c) 2002-2003 David Abrahams
// Copyright (c) 2003 Gennaro Prota
@@ -146,7 +146,7 @@
# endif
//
-// Without partial specialization, partial
+// Without partial specialization, partial
// specialization with default args won't work either:
//
# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
@@ -632,7 +632,7 @@
// Set some default values GPU support
//
# ifndef BOOST_GPU_ENABLED
-# define BOOST_GPU_ENABLED
+# define BOOST_GPU_ENABLED
# endif
// BOOST_FORCEINLINE ---------------------------------------------//
@@ -648,6 +648,78 @@
# endif
#endif
+// BOOST_NOINLINE ---------------------------------------------//
+// Macro to use in place of 'inline' to prevent a function to be inlined
+#if !defined(BOOST_NOINLINE)
+# if defined(_MSC_VER)
+# define BOOST_NOINLINE __declspec(noinline)
+# elif defined(__GNUC__) && __GNUC__ > 3
+ // Clang also defines __GNUC__ (as 4)
+# define BOOST_NOINLINE __attribute__ ((__noinline__))
+# else
+# define BOOST_NOINLINE
+# endif
+#endif
+
+// Branch prediction hints
+// These macros are intended to wrap conditional expressions that yield true or false
+//
+// if (BOOST_LIKELY(var == 10))
+// {
+// // the most probable code here
+// }
+//
+#if !defined(BOOST_LIKELY)
+# define BOOST_LIKELY(x) x
+#endif
+#if !defined(BOOST_UNLIKELY)
+# define BOOST_UNLIKELY(x) x
+#endif
+
+// Type and data alignment specification
+//
+#if !defined(BOOST_NO_CXX11_ALIGNAS)
+# define BOOST_ALIGNMENT(x) alignas(x)
+#elif defined(_MSC_VER)
+# define BOOST_ALIGNMENT(x) __declspec(align(x))
+#elif defined(__GNUC__)
+# define BOOST_ALIGNMENT(x) __attribute__ ((__aligned__(x)))
+#else
+# define BOOST_NO_ALIGNMENT
+# define BOOST_ALIGNMENT(x)
+#endif
+
+// Defaulted and deleted function declaration helpers
+// These macros are intended to be inside a class definition.
+// BOOST_DEFAULTED_FUNCTION accepts the function declaration and its
+// body, which will be used if the compiler doesn't support defaulted functions.
+// BOOST_DELETED_FUNCTION only accepts the function declaration. It
+// will expand to a private function declaration, if the compiler doesn't support
+// deleted functions. Because of this it is recommended to use BOOST_DELETED_FUNCTION
+// in the end of the class definition.
+//
+// class my_class
+// {
+// public:
+// // Default-constructible
+// BOOST_DEFAULTED_FUNCTION(my_class(), {})
+// // Copying prohibited
+// BOOST_DELETED_FUNCTION(my_class(my_class const&))
+// BOOST_DELETED_FUNCTION(my_class& operator= (my_class const&))
+// };
+//
+#if !(defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) || defined(BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS))
+# define BOOST_DEFAULTED_FUNCTION(fun, body) fun = default;
+#else
+# define BOOST_DEFAULTED_FUNCTION(fun, body) fun body
+#endif
+
+#if !defined(BOOST_NO_CXX11_DELETED_FUNCTIONS)
+# define BOOST_DELETED_FUNCTION(fun) fun = delete;
+#else
+# define BOOST_DELETED_FUNCTION(fun) private: fun;
+#endif
+
//
// Set BOOST_NO_DECLTYPE_N3276 when BOOST_NO_DECLTYPE is defined
//
@@ -696,7 +768,7 @@
# define BOOST_NO_0X_HDR_FUTURE
#endif
-// Use BOOST_NO_CXX11_HDR_INITIALIZER_LIST
+// Use BOOST_NO_CXX11_HDR_INITIALIZER_LIST
// instead of BOOST_NO_0X_HDR_INITIALIZER_LIST or BOOST_NO_INITIALIZER_LISTS
#ifdef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
# ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST
@@ -885,19 +957,19 @@
# define BOOST_NOEXCEPT_EXPR(Expression) noexcept((Expression))
#endif
//
-// Helper macro BOOST_FALLTHROUGH
-// Fallback definition of BOOST_FALLTHROUGH macro used to mark intended
-// fall-through between case labels in a switch statement. We use a definition
-// that requires a semicolon after it to avoid at least one type of misuse even
-// on unsupported compilers.
-//
-#ifndef BOOST_FALLTHROUGH
-# define BOOST_FALLTHROUGH ((void)0)
-#endif
+// Helper macro BOOST_FALLTHROUGH
+// Fallback definition of BOOST_FALLTHROUGH macro used to mark intended
+// fall-through between case labels in a switch statement. We use a definition
+// that requires a semicolon after it to avoid at least one type of misuse even
+// on unsupported compilers.
+//
+#ifndef BOOST_FALLTHROUGH
+# define BOOST_FALLTHROUGH ((void)0)
+#endif
//
// constexpr workarounds
-//
+//
#if defined(BOOST_NO_CXX11_CONSTEXPR)
#define BOOST_CONSTEXPR
#define BOOST_CONSTEXPR_OR_CONST const
Modified: branches/release/boost/cstdint.hpp
==============================================================================
--- branches/release/boost/cstdint.hpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/boost/cstdint.hpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -1,8 +1,8 @@
// boost cstdint.hpp header file ------------------------------------------//
-// (C) Copyright Beman Dawes 1999.
-// (C) Copyright Jens Mauer 2001
-// (C) Copyright John Maddock 2001
+// (C) Copyright Beman Dawes 1999.
+// (C) Copyright Jens Mauer 2001
+// (C) Copyright John Maddock 2001
// Distributed under 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)
@@ -24,9 +24,9 @@
#define BOOST_CSTDINT_HPP
//
-// Since we always define the INT#_C macros as per C++0x,
+// Since we always define the INT#_C macros as per C++0x,
// define __STDC_CONSTANT_MACROS so that <stdint.h> does the right
-// thing if possible, and so that the user knows that the macros
+// thing if possible, and so that the user knows that the macros
// are actually defined as per C99.
//
#ifndef __STDC_CONSTANT_MACROS
@@ -41,7 +41,10 @@
// so we disable use of stdint.h when GLIBC does not define __GLIBC_HAVE_LONG_LONG.
// See https://svn.boost.org/trac/boost/ticket/3548 and http://sources.redhat.com/bugzilla/show_bug.cgi?id=10990
//
-#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) || defined(__GLIBC_HAVE_LONG_LONG))
+#if defined(BOOST_HAS_STDINT_H) \
+ && (!defined(__GLIBC__) \
+ || defined(__GLIBC_HAVE_LONG_LONG) \
+ || (defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 17)))))
// The following #include is an implementation artifact; not part of interface.
# ifdef __hpux
@@ -50,7 +53,7 @@
# ifdef __STDC_32_MODE__
// this is triggered with GCC, because it defines __cplusplus < 199707L
# define BOOST_NO_INT64_T
-# endif
+# endif
# elif defined(__FreeBSD__) || defined(__IBMCPP__) || defined(_AIX)
# include <inttypes.h>
# else
@@ -100,40 +103,40 @@
namespace boost
{
- using ::int8_t;
- using ::int_least8_t;
- using ::int_fast8_t;
- using ::uint8_t;
- using ::uint_least8_t;
- using ::uint_fast8_t;
-
- using ::int16_t;
- using ::int_least16_t;
- using ::int_fast16_t;
- using ::uint16_t;
- using ::uint_least16_t;
- using ::uint_fast16_t;
-
- using ::int32_t;
- using ::int_least32_t;
- using ::int_fast32_t;
- using ::uint32_t;
- using ::uint_least32_t;
- using ::uint_fast32_t;
-
+ using ::int8_t;
+ using ::int_least8_t;
+ using ::int_fast8_t;
+ using ::uint8_t;
+ using ::uint_least8_t;
+ using ::uint_fast8_t;
+
+ using ::int16_t;
+ using ::int_least16_t;
+ using ::int_fast16_t;
+ using ::uint16_t;
+ using ::uint_least16_t;
+ using ::uint_fast16_t;
+
+ using ::int32_t;
+ using ::int_least32_t;
+ using ::int_fast32_t;
+ using ::uint32_t;
+ using ::uint_least32_t;
+ using ::uint_fast32_t;
+
# ifndef BOOST_NO_INT64_T
- using ::int64_t;
- using ::int_least64_t;
- using ::int_fast64_t;
- using ::uint64_t;
- using ::uint_least64_t;
- using ::uint_fast64_t;
-
+ using ::int64_t;
+ using ::int_least64_t;
+ using ::int_fast64_t;
+ using ::uint64_t;
+ using ::uint_least64_t;
+ using ::uint_fast64_t;
+
# endif
- using ::intmax_t;
- using ::uintmax_t;
+ using ::intmax_t;
+ using ::uintmax_t;
} // namespace boost
@@ -143,35 +146,35 @@
namespace boost {
- using ::int8_t;
- typedef int8_t int_least8_t;
- typedef int8_t int_fast8_t;
- using ::uint8_t;
- typedef uint8_t uint_least8_t;
- typedef uint8_t uint_fast8_t;
-
- using ::int16_t;
- typedef int16_t int_least16_t;
- typedef int16_t int_fast16_t;
- using ::uint16_t;
- typedef uint16_t uint_least16_t;
- typedef uint16_t uint_fast16_t;
-
- using ::int32_t;
- typedef int32_t int_least32_t;
- typedef int32_t int_fast32_t;
- using ::uint32_t;
- typedef uint32_t uint_least32_t;
- typedef uint32_t uint_fast32_t;
-
-# ifndef BOOST_NO_INT64_T
-
- using ::int64_t;
- typedef int64_t int_least64_t;
- typedef int64_t int_fast64_t;
- using ::uint64_t;
- typedef uint64_t uint_least64_t;
- typedef uint64_t uint_fast64_t;
+ using ::int8_t;
+ typedef int8_t int_least8_t;
+ typedef int8_t int_fast8_t;
+ using ::uint8_t;
+ typedef uint8_t uint_least8_t;
+ typedef uint8_t uint_fast8_t;
+
+ using ::int16_t;
+ typedef int16_t int_least16_t;
+ typedef int16_t int_fast16_t;
+ using ::uint16_t;
+ typedef uint16_t uint_least16_t;
+ typedef uint16_t uint_fast16_t;
+
+ using ::int32_t;
+ typedef int32_t int_least32_t;
+ typedef int32_t int_fast32_t;
+ using ::uint32_t;
+ typedef uint32_t uint_least32_t;
+ typedef uint32_t uint_fast32_t;
+
+# ifndef BOOST_NO_INT64_T
+
+ using ::int64_t;
+ typedef int64_t int_least64_t;
+ typedef int64_t int_fast64_t;
+ using ::uint64_t;
+ typedef uint64_t uint_least64_t;
+ typedef uint64_t uint_fast64_t;
typedef int64_t intmax_t;
typedef uint64_t uintmax_t;
@@ -235,15 +238,15 @@
typedef unsigned short uint_least16_t;
typedef unsigned short uint_fast16_t;
# endif
-# elif (USHRT_MAX == 0xffffffff) && defined(__MTA__)
- // On MTA / XMT short is 32 bits unless the -short16 compiler flag is specified
- // MTA / XMT does support the following non-standard integer types
- typedef __short16 int16_t;
- typedef __short16 int_least16_t;
- typedef __short16 int_fast16_t;
- typedef unsigned __short16 uint16_t;
- typedef unsigned __short16 uint_least16_t;
- typedef unsigned __short16 uint_fast16_t;
+# elif (USHRT_MAX == 0xffffffff) && defined(__MTA__)
+ // On MTA / XMT short is 32 bits unless the -short16 compiler flag is specified
+ // MTA / XMT does support the following non-standard integer types
+ typedef __short16 int16_t;
+ typedef __short16 int_least16_t;
+ typedef __short16 int_fast16_t;
+ typedef unsigned __short16 uint16_t;
+ typedef unsigned __short16 uint_least16_t;
+ typedef unsigned __short16 uint_fast16_t;
# elif (USHRT_MAX == 0xffffffff) && defined(CRAY)
// no 16-bit types on Cray:
typedef short int_least16_t;
@@ -277,14 +280,14 @@
typedef unsigned long uint32_t;
typedef unsigned long uint_least32_t;
typedef unsigned long uint_fast32_t;
-# elif (UINT_MAX == 0xffffffffffffffff) && defined(__MTA__)
- // Integers are 64 bits on the MTA / XMT
- typedef __int32 int32_t;
- typedef __int32 int_least32_t;
- typedef __int32 int_fast32_t;
- typedef unsigned __int32 uint32_t;
- typedef unsigned __int32 uint_least32_t;
- typedef unsigned __int32 uint_fast32_t;
+# elif (UINT_MAX == 0xffffffffffffffff) && defined(__MTA__)
+ // Integers are 64 bits on the MTA / XMT
+ typedef __int32 int32_t;
+ typedef __int32 int_least32_t;
+ typedef __int32 int_fast32_t;
+ typedef unsigned __int32 uint32_t;
+ typedef unsigned __int32 uint_least32_t;
+ typedef unsigned __int32 uint_fast32_t;
# else
# error defaults not correct; you must hand modify boost/cstdint.hpp
# endif
@@ -358,6 +361,40 @@
#endif // BOOST_HAS_STDINT_H
+// intptr_t/uintptr_t are defined separately because they are optional and not universally available
+#if defined(BOOST_WINDOWS) && !defined(_WIN32_WCE) && !defined(BOOST_HAS_STDINT_H)
+// Older MSVC don't have stdint.h and have intptr_t/uintptr_t defined in stddef.h
+#include <stddef.h>
+#endif
+
+// PGI seems to not support intptr_t/uintptr_t properly. BOOST_HAS_STDINT_H is not defined for this compiler by Boost.Config.
+#if !defined(__PGIC__)
+
+#if (defined(BOOST_WINDOWS) && !defined(_WIN32_WCE)) \
+ || (defined(_XOPEN_UNIX) && (_XOPEN_UNIX+0 > 0) && !defined(__UCLIBC__)) \
+ || defined(__CYGWIN__) \
+ || defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__) \
+ || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+
+namespace boost {
+ using ::intptr_t;
+ using ::uintptr_t;
+}
+#define BOOST_HAS_INTPTR_T
+
+// Clang pretends to be GCC, so it'll match this condition
+#elif defined(__GNUC__) && defined(__INTPTR_TYPE__) && defined(__UINTPTR_TYPE__)
+
+namespace boost {
+ typedef __INTPTR_TYPE__ intptr_t;
+ typedef __UINTPTR_TYPE__ uintptr_t;
+}
+#define BOOST_HAS_INTPTR_T
+
+#endif
+
+#endif // !defined(__PGIC__)
+
#endif // BOOST_CSTDINT_HPP
@@ -376,15 +413,15 @@
#if !defined(BOOST__STDC_CONSTANT_MACROS_DEFINED) && \
(!defined(INT8_C) || !defined(INT16_C) || !defined(INT32_C) || !defined(INT64_C))
//
-// For the following code we get several warnings along the lines of:
-//
-// boost/cstdint.hpp:428:35: error: use of C99 long long integer constant
-//
-// So we declare this a system header to suppress these warnings.
-//
-#if defined(__GNUC__) && (__GNUC__ >= 4)
-#pragma GCC system_header
-#endif
+// For the following code we get several warnings along the lines of:
+//
+// boost/cstdint.hpp:428:35: error: use of C99 long long integer constant
+//
+// So we declare this a system header to suppress these warnings.
+//
+#if defined(__GNUC__) && (__GNUC__ >= 4)
+#pragma GCC system_header
+#endif
#include <limits.h>
# define BOOST__STDC_CONSTANT_MACROS_DEFINED
Modified: branches/release/libs/config/doc/macro_reference.qbk
==============================================================================
--- branches/release/libs/config/doc/macro_reference.qbk Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/doc/macro_reference.qbk 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -397,6 +397,12 @@
The standard library has a partially conforming `std::allocator` class, but
without any of the member templates.
]]
+[[`BOOST_HAS_PRAGMA_ONCE`][Compiler][
+The compiler recognizes the `#pragma once` directive which tells that the
+containing header should be included only once while preprocessing the
+current translation unit. The pragma may improve compile times of large projects
+with some compilers.
+]]
[[`BOOST_HAS_PTHREAD_DELAY_NP`][Platform][
The platform has the POSIX API `pthread_delay_np`.
]]
@@ -576,6 +582,7 @@
[table
[[Macro ][Description ]]
+[[`BOOST_NO_CXX11_ALIGNAS`][The compiler does not support the `alignas` keyword.]]
[[`BOOST_NO_CXX11_ALLOCATOR`][The standard library does not provide a C++11 version of `std::allocator` in <memory>.]]
[[`BOOST_NO_CXX11_ATOMIC_SP`][The standard library <memory> does not support atomic smart pointer operations.]]
[[`BOOST_NO_CXX11_HDR_ARRAY`][The standard library does not provide header <array>.]]
@@ -597,40 +604,41 @@
[[`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
type deduction for variables declared with the `auto` keyword (`auto var = ...;`).
-]]
+]]
[[`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_CXX11_CHAR16_T`][The compiler does not support
type `char16_t`.
-]]
+]]
[[`BOOST_NO_CXX11_CHAR32_T`][The compiler does not support
type `char32_t`.
-]]
+]]
[[`BOOST_NO_CXX11_TEMPLATE_ALIASES`][The compiler does not support template aliases.
-]]
+]]
[[`BOOST_NO_CXX11_CONSTEXPR`][The compiler does not support
`constexpr`.
-]]
+]]
[[`BOOST_NO_CXX11_DECLTYPE`][The compiler does not support
`decltype`.
-]]
+]]
[[`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_CXX11_DEFAULTED_FUNCTIONS`][The compiler does not support
-defaulted (`= default`) functions.
-]]
+defaulted (`= default`) functions.
+]]
[[`BOOST_NO_CXX11_DELETED_FUNCTIONS`][The compiler does not support
-deleted (`= delete`) functions.
-]]
+deleted (`= delete`) functions.
+]]
[[`BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS`][The compiler does not support
-explicit conversion operators (`explicit operator T()`).
+explicit conversion operators (`explicit operator T()`).
]]
[[`BOOST_NO_CXX11_EXTERN_TEMPLATE`][The compiler does not support
explicit instantiation forward declarations for templates (`extern template ...`).
@@ -639,49 +647,51 @@
default template arguments for function templates.
]]
[[`BOOST_NO_CXX11_LAMBDAS`][The compiler does not support Lambdas.
-]]
+]]
[[`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_CXX11_NOEXCEPT`][The compiler does not support `noexcept`.
-]]
+]]
[[`BOOST_NO_CXX11_NULLPTR`][The compiler does not support `nullptr`.
-]]
+]]
[[`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_CXX11_RVALUE_REFERENCES`][The compiler does not support
r-value references.
-]]
+]]
[[`BOOST_NO_CXX11_SCOPED_ENUMS`][The compiler does not support
scoped enumerations (`enum class`).
-]]
+]]
[[`BOOST_NO_CXX11_STATIC_ASSERT`][The compiler does not support
`static_assert`.
-]]
+]]
[[`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.
-]]
+]]
[[`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_CXX11_USER_DEFINED_LITERALS`][The compiler does not support user defined literals.
-]]
+]]
[[`BOOST_NO_CXX11_VARIADIC_TEMPLATES`][The compiler does not support
-variadic templates.
+variadic templates.
]]
[[`BOOST_NO_CXX11_VARIADIC_MACROS`][The compiler does not support
-variadic macros.
+variadic macros.
]]
]
@@ -697,6 +707,21 @@
[table
[[Macro ][ Description ]]
+[[`BOOST_ALIGNMENT(X)`, `BOOST_NO_ALIGNMENT`][
+Some compilers don't support the `alignas` keyword but provide other means to specify alignment
+(usually, through compiler-specific attributes). The macro `BOOST_ALIGNMENT(X)` will expand to the `alignas(X)`
+keyword if the compiler supports it or to some compiler-specific attribute to achieve the specified alignment.
+If no such compiler-specific attribute is known then `BOOST_ALIGNMENT(X)` will expand to nothing and
+`BOOST_NO_ALIGNMENT` will be defined. Unlike native `alignas`, `X` must always be a compile-time integer constant.
+The macro can be used to specify alignment of types and data:
+``
+ struct BOOST_ALIGNMENT(16) my_data
+ {
+ char c[16];
+ };
+ BOOST_ALIGNMENT(8) int arr[32];
+``
+]]
[[`BOOST_CONSTEXPR`][
Some compilers don't support the use of `constexpr`. This macro expands to nothing on those compilers, and `constexpr`
elsewhere. For example, when defining a constexpr function or constructor replace:
@@ -729,6 +754,61 @@
BOOST_STATIC_CONSTEXPR UIntType xor_mask = a;
``
]]
+[[`BOOST_DEFAULTED_FUNCTION(fun, body)`][
+This macro is intended to be used within a class definition in order to declare a default implementation of function `fun`.
+For the compilers that do not support C++11 defaulted functions the macro will expand into an inline function definition
+with the `body` implementation. For example:
+``
+ struct my_struct
+ {
+ BOOST_DEFAULTED_FUNCTION(my_struct(), {})
+ };
+``
+is equivalent to:
+``
+ struct my_struct
+ {
+ my_struct() = default;
+ };
+``
+or:
+``
+ struct my_struct
+ {
+ my_struct() {}
+ };
+``
+]]
+[[`BOOST_DELETED_FUNCTION(fun)`][
+This macro is intended to be used within a class definition in order to declare a deleted function `fun`.
+For the compilers that do not support C++11 deleted functions the macro will expand into a private function
+declaration with no definition. Since the macro may change the access mode, it is recommended to use this macro
+at the end of the class definition. For example:
+``
+ struct noncopyable
+ {
+ BOOST_DELETED_FUNCTION(noncopyable(noncopyable const&))
+ BOOST_DELETED_FUNCTION(noncopyable& operator= (noncopyable const&))
+ };
+``
+is equivalent to:
+``
+ struct noncopyable
+ {
+ noncopyable(noncopyable const&) = delete;
+ noncopyable& operator= (noncopyable const&) = delete;
+ };
+``
+or:
+``
+ struct noncopyable
+ {
+ private:
+ noncopyable(noncopyable const&);
+ noncopyable& operator= (noncopyable const&);
+ };
+``
+]]
[[
``
BOOST_NOEXCEPT
@@ -1003,6 +1083,34 @@
Consider defining it to `inline` before including the Boost.Config header in order to be
able to debug errors more easily.
]]
+[[`BOOST_NOINLINE`][
+This macro can be used in place of the `inline` keyword to instruct the compiler
+that a function should never be inlined. One should typically use this macro
+to mark functions that are unlikely to be called, such as error handling routines.
+
+Usage example:
+``
+ BOOST_NOINLINE void handle_error(const char* descr)
+ {
+ // ...
+ }
+``
+]]
+[[`BOOST_LIKELY(X)`
+ `BOOST_UNLIKELY(X)`][
+These macros communicate to the compiler that the conditional expression `X` is likely
+or unlikely to yield a positive result. The expression should result in a boolean value.
+The result of the macro is an integer or boolean value equivalent to the result of `X`.
+
+The macros are intended to be used in branching statements. The additional hint they provide
+can be used by the compiler to arrange the compiled code of the branches more effectively.
+
+Usage example:
+``
+ if (BOOST_UNLIKELY(ptr == NULL))
+ handle_error("ptr is NULL");
+``
+]]
]
[endsect]
Modified: branches/release/libs/config/test/all/Jamfile.v2
==============================================================================
--- branches/release/libs/config/test/all/Jamfile.v2 Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/all/Jamfile.v2 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -226,6 +226,12 @@
test-suite "BOOST_NO_CWCTYPE" :
[ run ../no_cwctype_pass.cpp ]
[ compile-fail ../no_cwctype_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_CXX11_ALIGNAS" :
+[ run ../no_cxx11_alignas_pass.cpp ]
+[ compile-fail ../no_cxx11_alignas_fail.cpp ] ;
test-suite "BOOST_NO_CXX11_ALLOCATOR" :
[ run ../no_cxx11_allocator_pass.cpp ]
[ compile-fail ../no_cxx11_allocator_fail.cpp ] ;
@@ -286,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 ] ;
@@ -424,9 +436,6 @@
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" :
[ run ../no_ret_det_pass.cpp ]
[ compile-fail ../no_ret_det_fail.cpp ] ;
Copied: branches/release/libs/config/test/boost_no_cxx11_alignas.ipp (from r85087, trunk/libs/config/test/boost_no_cxx11_alignas.ipp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/release/libs/config/test/boost_no_cxx11_alignas.ipp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088, copy of r85087, trunk/libs/config/test/boost_no_cxx11_alignas.ipp)
@@ -0,0 +1,36 @@
+// (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_ALIGNAS
+// TITLE: C++11 alignas keyword.
+// DESCRIPTION: The compiler does not support the C++11 alignment specification with alignas keyword.
+
+namespace boost_no_cxx11_alignas {
+
+struct alignas(16) my_data1
+{
+ char data[10];
+};
+
+struct alignas(double) my_data2
+{
+ char data[16];
+};
+
+my_data1 dummy1[2];
+my_data2 dummy2;
+alignas(16) char dummy3[10];
+alignas(double) char dummy4[32];
+
+int test()
+{
+ // TODO: Test that the data is actually aligned on platforms with uintptr_t
+ return 0;
+}
+
+}
Copied: branches/release/libs/config/test/boost_no_cxx11_inline_namespaces.ipp (from r85087, trunk/libs/config/test/boost_no_cxx11_inline_namespaces.ipp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/release/libs/config/test/boost_no_cxx11_inline_namespaces.ipp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088, copy of r85087, trunk/libs/config/test/boost_no_cxx11_inline_namespaces.ipp)
@@ -0,0 +1,30 @@
+// (C) Copyright Andrey Semashev 2013
+
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for more information.
+
+// MACRO: BOOST_NO_CXX11_INLINE_NAMESPACES
+// TITLE: C++11 inline namespaces.
+// DESCRIPTION: The compiler does not support C++11 inline namespaces.
+
+namespace boost_no_cxx11_inline_namespaces {
+
+inline namespace my_ns {
+
+int data = 0;
+
+} // namespace my_ns
+
+int test()
+{
+ data = 1;
+ if (&data == &my_ns::data)
+ return 0;
+ else
+ return 1;
+}
+
+}
Copied: branches/release/libs/config/test/boost_no_cxx11_trailing_result_types.ipp (from r85087, trunk/libs/config/test/boost_no_cxx11_trailing_result_types.ipp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/release/libs/config/test/boost_no_cxx11_trailing_result_types.ipp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088, copy of r85087, trunk/libs/config/test/boost_no_cxx11_trailing_result_types.ipp)
@@ -0,0 +1,26 @@
+// (C) Copyright Andrey Semashev 2013
+
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for more information.
+
+// MACRO: BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+// TITLE: C++11 trailing function result types syntax.
+// DESCRIPTION: The compiler does not support the new C++11 function result types specification syntax.
+
+namespace boost_no_cxx11_trailing_result_types {
+
+template< typename T >
+auto foo(T const& t) -> T
+{
+ return t;
+}
+
+int test()
+{
+ return foo(0);
+}
+
+}
Modified: branches/release/libs/config/test/config_info.cpp
==============================================================================
--- branches/release/libs/config/test/config_info.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/config_info.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -992,6 +992,7 @@
PRINT_MACRO(BOOST_NO_CV_VOID_SPECIALIZATIONS);
PRINT_MACRO(BOOST_NO_CWCHAR);
PRINT_MACRO(BOOST_NO_CWCTYPE);
+ PRINT_MACRO(BOOST_NO_CXX11_ALIGNAS);
PRINT_MACRO(BOOST_NO_CXX11_ALLOCATOR);
PRINT_MACRO(BOOST_NO_CXX11_ATOMIC_SMART_PTR);
PRINT_MACRO(BOOST_NO_CXX11_AUTO_DECLARATIONS);
@@ -1025,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);
@@ -1037,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);
@@ -1114,6 +1117,7 @@
PRINT_MACRO(BOOST_STATIC_CONSTEXPR);
PRINT_MACRO(BOOST_NOEXCEPT);
PRINT_MACRO(BOOST_FORCEINLINE);
+ PRINT_MACRO(BOOST_NOINLINE);
PRINT_MACRO(BOOST_FALLTHROUGH);
}
Modified: branches/release/libs/config/test/config_test.cpp
==============================================================================
--- branches/release/libs/config/test/config_test.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/config_test.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -102,6 +102,11 @@
#else
namespace boost_no_cwctype = empty_boost;
#endif
+#ifndef BOOST_NO_CXX11_ALIGNAS
+#include "boost_no_cxx11_alignas.ipp"
+#else
+namespace boost_no_cxx11_alignas = empty_boost;
+#endif
#ifndef BOOST_NO_CXX11_ALLOCATOR
#include "boost_no_cxx11_allocator.ipp"
#else
@@ -202,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
@@ -1231,6 +1246,11 @@
std::cerr << "Failed test for BOOST_NO_CWCTYPE at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
+ if(0 != boost_no_cxx11_alignas::test())
+ {
+ std::cerr << "Failed test for BOOST_NO_CXX11_ALIGNAS at: " << __FILE__ << ":" << __LINE__ << std::endl;
+ ++error_count;
+ }
if(0 != boost_no_cxx11_allocator::test())
{
std::cerr << "Failed test for BOOST_NO_CXX11_ALLOCATOR at: " << __FILE__ << ":" << __LINE__ << std::endl;
@@ -1331,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;
@@ -1341,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: branches/release/libs/config/test/no_auto_declarations_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_auto_declarations_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_auto_declarations_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_auto_declarations::test();
+ return boost_no_cxx11_auto_declarations::test();
}
Modified: branches/release/libs/config/test/no_auto_declarations_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_auto_declarations_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_auto_declarations_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_auto_multidecl_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_auto_multidecl_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_auto_multidecl_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_auto_multideclarations::test();
+ return boost_no_cxx11_auto_multideclarations::test();
}
Modified: branches/release/libs/config/test/no_auto_multidecl_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_auto_multidecl_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_auto_multidecl_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_char16_t_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_char16_t_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_char16_t_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_char16_t::test();
+ return boost_no_cxx11_char16_t::test();
}
Modified: branches/release/libs/config/test/no_char16_t_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_char16_t_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_char16_t_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_char32_t_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_char32_t_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_char32_t_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_char32_t::test();
+ return boost_no_cxx11_char32_t::test();
}
Modified: branches/release/libs/config/test/no_char32_t_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_char32_t_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_char32_t_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_constexpr_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_constexpr_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_constexpr_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_constexpr::test();
+ return boost_no_cxx11_constexpr::test();
}
Modified: branches/release/libs/config/test/no_constexpr_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_constexpr_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_constexpr_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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();
}
Copied: branches/release/libs/config/test/no_cxx11_alignas_fail.cpp (from r85087, trunk/libs/config/test/no_cxx11_alignas_fail.cpp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/release/libs/config/test/no_cxx11_alignas_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088, copy of r85087, trunk/libs/config/test/no_cxx11_alignas_fail.cpp)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Sun Apr 28 18:36:48 2013
+// by libs/config/tools/generate.cpp
+// Copyright John Maddock 2002-4.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_CXX11_ALIGNAS
+// This file should not compile, if it does then
+// BOOST_NO_CXX11_ALIGNAS should not be defined.
+// See file boost_no_cxx11_alignas.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_ALIGNAS
+#include "boost_no_cxx11_alignas.ipp"
+#else
+#error "this file should not compile"
+#endif
+
+int main( int, char *[] )
+{
+ return boost_no_cxx11_alignas::test();
+}
+
Copied: branches/release/libs/config/test/no_cxx11_alignas_pass.cpp (from r85087, trunk/libs/config/test/no_cxx11_alignas_pass.cpp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/release/libs/config/test/no_cxx11_alignas_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088, copy of r85087, trunk/libs/config/test/no_cxx11_alignas_pass.cpp)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Sun Apr 28 18:36:48 2013
+// by libs/config/tools/generate.cpp
+// Copyright John Maddock 2002-4.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_CXX11_ALIGNAS
+// This file should compile, if it does not then
+// BOOST_NO_CXX11_ALIGNAS should be defined.
+// See file boost_no_cxx11_alignas.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_ALIGNAS
+#include "boost_no_cxx11_alignas.ipp"
+#else
+namespace boost_no_cxx11_alignas = empty_boost;
+#endif
+
+int main( int, char *[] )
+{
+ return boost_no_cxx11_alignas::test();
+}
+
Copied: branches/release/libs/config/test/no_cxx11_inline_namespaces_fail.cpp (from r85087, trunk/libs/config/test/no_cxx11_inline_namespaces_fail.cpp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/release/libs/config/test/no_cxx11_inline_namespaces_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088, copy of r85087, trunk/libs/config/test/no_cxx11_inline_namespaces_fail.cpp)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Sun Apr 28 18:36:48 2013
+// by libs/config/tools/generate.cpp
+// Copyright John Maddock 2002-4.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_CXX11_INLINE_NAMESPACES
+// This file should not compile, if it does then
+// BOOST_NO_CXX11_INLINE_NAMESPACES should not be defined.
+// See file boost_no_cxx11_inline_namespaces.ipp for details
+
+// Must not have BOOST_ASSERT_CONFIG set; it defeats
+// the objective of this file:
+#ifdef BOOST_ASSERT_CONFIG
+# undef BOOST_ASSERT_CONFIG
+#endif
+
+#include <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();
+}
+
Copied: branches/release/libs/config/test/no_cxx11_inline_namespaces_pass.cpp (from r85087, trunk/libs/config/test/no_cxx11_inline_namespaces_pass.cpp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/release/libs/config/test/no_cxx11_inline_namespaces_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088, copy of r85087, trunk/libs/config/test/no_cxx11_inline_namespaces_pass.cpp)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Sun Apr 28 18:36:48 2013
+// by libs/config/tools/generate.cpp
+// Copyright John Maddock 2002-4.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_CXX11_INLINE_NAMESPACES
+// This file should compile, if it does not then
+// BOOST_NO_CXX11_INLINE_NAMESPACES should be defined.
+// See file boost_no_cxx11_inline_namespaces.ipp for details
+
+// Must not have BOOST_ASSERT_CONFIG set; it defeats
+// the objective of this file:
+#ifdef BOOST_ASSERT_CONFIG
+# undef BOOST_ASSERT_CONFIG
+#endif
+
+#include <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();
+}
+
Copied: branches/release/libs/config/test/no_cxx11_trailing_result_types_fail.cpp (from r85087, trunk/libs/config/test/no_cxx11_trailing_result_types_fail.cpp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/release/libs/config/test/no_cxx11_trailing_result_types_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088, copy of r85087, trunk/libs/config/test/no_cxx11_trailing_result_types_fail.cpp)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Sun Apr 28 18:36:48 2013
+// by libs/config/tools/generate.cpp
+// Copyright John Maddock 2002-4.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+// This file should not compile, if it does then
+// BOOST_NO_CXX11_TRAILING_RESULT_TYPES should not be defined.
+// See file boost_no_cxx11_trailing_result_types.ipp for details
+
+// Must not have BOOST_ASSERT_CONFIG set; it defeats
+// the objective of this file:
+#ifdef BOOST_ASSERT_CONFIG
+# undef BOOST_ASSERT_CONFIG
+#endif
+
+#include <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();
+}
+
Copied: branches/release/libs/config/test/no_cxx11_trailing_result_types_pass.cpp (from r85087, trunk/libs/config/test/no_cxx11_trailing_result_types_pass.cpp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/release/libs/config/test/no_cxx11_trailing_result_types_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088, copy of r85087, trunk/libs/config/test/no_cxx11_trailing_result_types_pass.cpp)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Sun Apr 28 18:36:48 2013
+// by libs/config/tools/generate.cpp
+// Copyright John Maddock 2002-4.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_CXX11_TRAILING_RESULT_TYPES
+// This file should compile, if it does not then
+// BOOST_NO_CXX11_TRAILING_RESULT_TYPES should be defined.
+// See file boost_no_cxx11_trailing_result_types.ipp for details
+
+// Must not have BOOST_ASSERT_CONFIG set; it defeats
+// the objective of this file:
+#ifdef BOOST_ASSERT_CONFIG
+# undef BOOST_ASSERT_CONFIG
+#endif
+
+#include <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: branches/release/libs/config/test/no_decltype_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_decltype_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_decltype_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_decltype::test();
+ return boost_no_cxx11_decltype::test();
}
Modified: branches/release/libs/config/test/no_decltype_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_decltype_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_decltype_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_defaulted_functions_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_defaulted_functions_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_defaulted_functions_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_defaulted_functions::test();
+ return boost_no_cxx11_defaulted_functions::test();
}
Modified: branches/release/libs/config/test/no_defaulted_functions_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_defaulted_functions_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_defaulted_functions_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_deleted_functions_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_deleted_functions_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_deleted_functions_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_deleted_functions::test();
+ return boost_no_cxx11_deleted_functions::test();
}
Modified: branches/release/libs/config/test/no_deleted_functions_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_deleted_functions_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_deleted_functions_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_explicit_cvt_ops_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_explicit_cvt_ops_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_explicit_cvt_ops_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_explicit_conversion_operators::test();
+ return boost_no_cxx11_explicit_conversion_operators::test();
}
Modified: branches/release/libs/config/test/no_explicit_cvt_ops_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_explicit_cvt_ops_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_explicit_cvt_ops_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_extern_template_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_extern_template_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_extern_template_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_extern_template::test();
+ return boost_no_cxx11_extern_template::test();
}
Modified: branches/release/libs/config/test/no_extern_template_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_extern_template_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_extern_template_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_function_template_default_args_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_function_template_default_args_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_function_template_default_args_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_function_template_default_args_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_function_template_default_args_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_function_template_default_args_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_lambdas_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_lambdas_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_lambdas_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_lambdas::test();
+ return boost_no_cxx11_lambdas::test();
}
Modified: branches/release/libs/config/test/no_lambdas_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_lambdas_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_lambdas_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_noexcept_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_noexcept_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_noexcept_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_noexcept::test();
+ return boost_no_cxx11_noexcept::test();
}
Modified: branches/release/libs/config/test/no_noexcept_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_noexcept_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_noexcept_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_nullptr_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_nullptr_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_nullptr_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_nullptr::test();
+ return boost_no_cxx11_nullptr::test();
}
Modified: branches/release/libs/config/test/no_nullptr_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_nullptr_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_nullptr_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_raw_literals_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_raw_literals_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_raw_literals_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_raw_literals::test();
+ return boost_no_cxx11_raw_literals::test();
}
Modified: branches/release/libs/config/test/no_raw_literals_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_raw_literals_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_raw_literals_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_rvalue_references_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_rvalue_references_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_rvalue_references_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_rvalue_references::test();
+ return boost_no_cxx11_rvalue_references::test();
}
Modified: branches/release/libs/config/test/no_rvalue_references_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_rvalue_references_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_rvalue_references_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_scoped_enums_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_scoped_enums_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_scoped_enums_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_scoped_enums::test();
+ return boost_no_cxx11_scoped_enums::test();
}
Modified: branches/release/libs/config/test/no_scoped_enums_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_scoped_enums_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_scoped_enums_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_static_assert_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_static_assert_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_static_assert_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_static_assert::test();
+ return boost_no_cxx11_static_assert::test();
}
Modified: branches/release/libs/config/test/no_static_assert_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_static_assert_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_static_assert_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_tem_local_classes_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_tem_local_classes_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_tem_local_classes_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_tem_local_classes_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_tem_local_classes_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_tem_local_classes_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_template_aliases_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_template_aliases_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_template_aliases_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_template_aliases::test();
+ return boost_no_cxx11_template_aliases::test();
}
Modified: branches/release/libs/config/test/no_template_aliases_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_template_aliases_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_template_aliases_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_unicode_literals_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_unicode_literals_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_unicode_literals_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_unicode_literals::test();
+ return boost_no_cxx11_unicode_literals::test();
}
Modified: branches/release/libs/config/test/no_unicode_literals_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_unicode_literals_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_unicode_literals_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_unified_init_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_unified_init_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_unified_init_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_unified_initialization_syntax::test();
+ return boost_no_cxx11_unified_initialization_syntax::test();
}
Modified: branches/release/libs/config/test/no_unified_init_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_unified_init_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_unified_init_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_variadic_macros_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_variadic_macros_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_variadic_macros_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_variadic_macros::test();
+ return boost_no_cxx11_variadic_macros::test();
}
Modified: branches/release/libs/config/test/no_variadic_macros_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_variadic_macros_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_variadic_macros_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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: branches/release/libs/config/test/no_variadic_templates_fail.cpp
==============================================================================
--- branches/release/libs/config/test/no_variadic_templates_fail.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_variadic_templates_fail.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
- return boost_no_variadic_templates::test();
+ return boost_no_cxx11_variadic_templates::test();
}
Modified: branches/release/libs/config/test/no_variadic_templates_pass.cpp
==============================================================================
--- branches/release/libs/config/test/no_variadic_templates_pass.cpp Sat Jul 20 11:32:31 2013 (r85087)
+++ branches/release/libs/config/test/no_variadic_templates_pass.cpp 2013-07-20 13:17:10 EDT (Sat, 20 Jul 2013) (r85088)
@@ -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