forked from boostorg/config
Added BOOST_NO_CXX11_INLINE_NAMESPACES and BOOST_NO_CXX11_TRAILING_RESULT_TYPES macros. Also corrected some tests that were using outdated testcase namespaces.
[SVN r84873]
This commit is contained in:
@@ -604,6 +604,7 @@ that are not yet supported by a particular compiler or library.
|
||||
[[`BOOST_NO_CXX11_HDR_TYPE_TRAITS`][The standard library does not provide header <type_traits>.]]
|
||||
[[`BOOST_NO_CXX11_HDR_UNORDERED_MAP`][The standard library does not provide header <unordered_map>.]]
|
||||
[[`BOOST_NO_CXX11_HDR_UNORDERED_SET`][The standard library does not provide header <unordered_set>.]]
|
||||
[[`BOOST_NO_CXX11_INLINE_NAMESPACES`][The compiler does not support inline namespaces.]]
|
||||
[[`BOOST_NO_CXX11_SMART_PTR`][The standard library header <memory> has no shared_ptr and unique_ptr.]]
|
||||
|
||||
[[`BOOST_NO_CXX11_AUTO_DECLARATIONS`][The compiler does not support
|
||||
@@ -676,6 +677,8 @@ scoped enumerations (`enum class`).
|
||||
[[`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.
|
||||
]]
|
||||
|
@@ -192,6 +192,8 @@
|
||||
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
||||
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define BOOST_NO_CXX11_ALIGNAS
|
||||
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
#define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
|
||||
#if __BORLANDC__ >= 0x590
|
||||
# define BOOST_HAS_TR1_HASH
|
||||
|
@@ -160,6 +160,14 @@
|
||||
# define BOOST_NO_CXX11_ALIGNAS
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_trailing_return)
|
||||
# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
#endif
|
||||
|
||||
#if !__has_feature(cxx_inline_namespaces)
|
||||
# define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
#endif
|
||||
|
||||
// Clang always supports variadic macros
|
||||
// Clang always supports extern templates
|
||||
|
||||
|
@@ -118,6 +118,8 @@
|
||||
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
||||
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define BOOST_NO_CXX11_ALIGNAS
|
||||
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
#define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
|
||||
//
|
||||
// TR1 macros:
|
||||
|
@@ -102,6 +102,8 @@
|
||||
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
||||
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define BOOST_NO_CXX11_ALIGNAS
|
||||
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPE
|
||||
#define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
|
||||
#ifdef c_plusplus
|
||||
// EDG has "long long" in non-strict mode
|
||||
|
@@ -88,6 +88,8 @@
|
||||
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
||||
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define BOOST_NO_CXX11_ALIGNAS
|
||||
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
#define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
|
||||
#if (__DMC__ < 0x812)
|
||||
#define BOOST_NO_CXX11_VARIADIC_MACROS
|
||||
|
@@ -211,6 +211,8 @@
|
||||
# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
|
||||
# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
|
||||
# define BOOST_NO_CXX11_DELETED_FUNCTIONS
|
||||
# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
# define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
#endif
|
||||
|
||||
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
|
||||
|
@@ -56,6 +56,8 @@
|
||||
# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
||||
# define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
||||
# define BOOST_NO_CXX11_ALIGNAS
|
||||
# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
# define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
|
||||
#define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__
|
||||
|
||||
|
@@ -120,6 +120,8 @@
|
||||
#define BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
||||
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define BOOST_NO_CXX11_ALIGNAS
|
||||
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
#define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
|
||||
/*
|
||||
See https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1443331 and
|
||||
|
@@ -181,10 +181,10 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {};
|
||||
|
||||
//
|
||||
// An attempt to value-initialize a pointer-to-member may trigger an
|
||||
// internal error on Intel <= 11.1 (last checked version), as was
|
||||
// internal error on Intel <= 11.1 (last checked version), as was
|
||||
// reported by John Maddock, Intel support issue 589832, May 2010.
|
||||
// Moreover, according to test results from Huang-Vista-x86_32_intel,
|
||||
// intel-vc9-win-11.1 may leave a non-POD array uninitialized, in some
|
||||
// intel-vc9-win-11.1 may leave a non-POD array uninitialized, in some
|
||||
// cases when it should be value-initialized.
|
||||
// (Niels Dekker, LKEB, May 2010)
|
||||
// Apparently Intel 12.1 (compiler version number 9999 !!) has the same issue (compiler regression).
|
||||
@@ -229,10 +229,11 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {};
|
||||
# undef BOOST_NO_CXX11_DECLTYPE
|
||||
# undef BOOST_NO_CXX11_AUTO_DECLARATIONS
|
||||
# undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
|
||||
# undef BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
#endif
|
||||
|
||||
// icl Version 12.1.0.233 Build 20110811 and possibly some other builds
|
||||
// had an incorrect __INTEL_COMPILER value of 9999. Intel say this has been fixed.
|
||||
// had an incorrect __INTEL_COMPILER value of 9999. Intel say this has been fixed.
|
||||
#if defined(BOOST_INTEL_STDCXX0X) && (BOOST_INTEL_CXX_VERSION > 1200)
|
||||
# undef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
||||
# undef BOOST_NO_CXX11_NULLPTR
|
||||
@@ -242,8 +243,8 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {};
|
||||
# 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)
|
||||
|
@@ -121,6 +121,8 @@
|
||||
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
||||
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define BOOST_NO_CXX11_ALIGNAS
|
||||
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
#define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
|
||||
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
|
||||
|
||||
|
@@ -70,6 +70,8 @@
|
||||
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
||||
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define BOOST_NO_CXX11_ALIGNAS
|
||||
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
#define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
|
||||
//
|
||||
// versions check:
|
||||
|
@@ -78,5 +78,6 @@
|
||||
# define BOOST_NO_CXX11_HDR_CHRONO
|
||||
# define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
||||
# define BOOST_NO_CXX11_ALIGNAS
|
||||
# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
# define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
#endif
|
||||
|
||||
|
@@ -113,6 +113,8 @@
|
||||
#define BOOST_NO_CXX11_HDR_ARRAY
|
||||
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define BOOST_NO_CXX11_ALIGNAS
|
||||
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
#define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
|
||||
//
|
||||
// version check:
|
||||
|
@@ -129,6 +129,8 @@
|
||||
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
||||
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define BOOST_NO_CXX11_ALIGNAS
|
||||
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
#define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
|
||||
//
|
||||
// Version
|
||||
|
@@ -127,6 +127,5 @@
|
||||
# define BOOST_NO_CXX11_VARIADIC_MACROS
|
||||
#endif
|
||||
#define BOOST_NO_CXX11_ALIGNAS
|
||||
|
||||
|
||||
|
||||
#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
#define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
|
@@ -231,6 +231,7 @@
|
||||
# define BOOST_NO_CXX11_RAW_LITERALS
|
||||
# define BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
||||
# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
||||
# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
#endif
|
||||
|
||||
// C++11 features not supported by any versions
|
||||
@@ -247,6 +248,7 @@
|
||||
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
||||
#define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
||||
#define BOOST_NO_CXX11_ALIGNAS
|
||||
#define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
|
||||
//
|
||||
// prefix and suffix headers:
|
||||
|
@@ -292,12 +292,18 @@ test-suite "BOOST_NO_CXX11_HDR_UNORDERED_MAP" :
|
||||
test-suite "BOOST_NO_CXX11_HDR_UNORDERED_SET" :
|
||||
[ run ../no_cxx11_hdr_unordered_set_pass.cpp ]
|
||||
[ compile-fail ../no_cxx11_hdr_unordered_set_fail.cpp ] ;
|
||||
test-suite "BOOST_NO_CXX11_INLINE_NAMESPACES" :
|
||||
[ run ../no_cxx11_inline_namespaces_pass.cpp ]
|
||||
[ compile-fail ../no_cxx11_inline_namespaces_fail.cpp ] ;
|
||||
test-suite "BOOST_NO_CXX11_NUMERIC_LIMITS" :
|
||||
[ run ../no_cxx11_numeric_limits_pass.cpp ]
|
||||
[ compile-fail ../no_cxx11_numeric_limits_fail.cpp ] ;
|
||||
test-suite "BOOST_NO_CXX11_SMART_PTR" :
|
||||
[ run ../no_cxx11_smart_ptr_pass.cpp ]
|
||||
[ compile-fail ../no_cxx11_smart_ptr_fail.cpp ] ;
|
||||
test-suite "BOOST_NO_CXX11_TRAILING_RESULT_TYPES" :
|
||||
[ run ../no_cxx11_trailing_result_types_pass.cpp ]
|
||||
[ compile-fail ../no_cxx11_trailing_result_types_fail.cpp ] ;
|
||||
test-suite "BOOST_NO_CXX11_USER_DEFINED_LITERALS" :
|
||||
[ run ../no_cxx11_user_lit_pass.cpp ]
|
||||
[ compile-fail ../no_cxx11_user_lit_fail.cpp ] ;
|
||||
|
30
test/boost_no_cxx11_inline_namespaces.ipp
Normal file
30
test/boost_no_cxx11_inline_namespaces.ipp
Normal file
@@ -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;
|
||||
}
|
||||
|
||||
}
|
26
test/boost_no_cxx11_trailing_result_types.ipp
Normal file
26
test/boost_no_cxx11_trailing_result_types.ipp
Normal file
@@ -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);
|
||||
}
|
||||
|
||||
}
|
@@ -1026,6 +1026,7 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_NO_CXX11_HDR_TYPE_TRAITS);
|
||||
PRINT_MACRO(BOOST_NO_CXX11_HDR_UNORDERED_MAP);
|
||||
PRINT_MACRO(BOOST_NO_CXX11_HDR_UNORDERED_SET);
|
||||
PRINT_MACRO(BOOST_NO_CXX11_INLINE_NAMESPACES);
|
||||
PRINT_MACRO(BOOST_NO_CXX11_LAMBDAS);
|
||||
PRINT_MACRO(BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS);
|
||||
PRINT_MACRO(BOOST_NO_CXX11_NOEXCEPT);
|
||||
@@ -1038,6 +1039,7 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_NO_CXX11_SMART_PTR);
|
||||
PRINT_MACRO(BOOST_NO_CXX11_STATIC_ASSERT);
|
||||
PRINT_MACRO(BOOST_NO_CXX11_TEMPLATE_ALIASES);
|
||||
PRINT_MACRO(BOOST_NO_CXX11_TRAILING_RESULT_TYPES);
|
||||
PRINT_MACRO(BOOST_NO_CXX11_UNICODE_LITERALS);
|
||||
PRINT_MACRO(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX);
|
||||
PRINT_MACRO(BOOST_NO_CXX11_USER_DEFINED_LITERALS);
|
||||
|
@@ -207,6 +207,16 @@ namespace boost_no_cxx11_hdr_unordered_map = empty_boost;
|
||||
#else
|
||||
namespace boost_no_cxx11_hdr_unordered_set = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||
#include "boost_no_cxx11_inline_namespaces.ipp"
|
||||
#else
|
||||
namespace boost_no_cxx11_inline_namespaces = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||
#include "boost_no_cxx11_trailing_result_types.ipp"
|
||||
#else
|
||||
namespace boost_no_cxx11_trailing_result_types = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS
|
||||
#include "boost_no_cxx11_numeric_limits.ipp"
|
||||
#else
|
||||
@@ -1341,6 +1351,11 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_NO_CXX11_HDR_UNORDERED_SET at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_cxx11_inline_namespaces::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_CXX11_INLINE_NAMESPACES at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_cxx11_numeric_limits::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_CXX11_NUMERIC_LIMITS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
@@ -1351,6 +1366,11 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_NO_CXX11_SMART_PTR at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_cxx11_trailing_result_types::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_CXX11_TRAILING_RESULT_TYPES at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_cxx11_user_defined_literals::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_CXX11_USER_DEFINED_LITERALS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_auto_declarations::test();
|
||||
return boost_no_cxx11_auto_declarations::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_auto_multideclarations::test();
|
||||
return boost_no_cxx11_auto_multideclarations::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_char16_t::test();
|
||||
return boost_no_cxx11_char16_t::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_char32_t::test();
|
||||
return boost_no_cxx11_char32_t::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_constexpr::test();
|
||||
return boost_no_cxx11_constexpr::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
37
test/no_cxx11_inline_namespaces_fail.cpp
Normal file
37
test/no_cxx11_inline_namespaces_fail.cpp
Normal file
@@ -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();
|
||||
}
|
||||
|
37
test/no_cxx11_inline_namespaces_pass.cpp
Normal file
37
test/no_cxx11_inline_namespaces_pass.cpp
Normal file
@@ -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();
|
||||
}
|
||||
|
37
test/no_cxx11_trailing_result_types_fail.cpp
Normal file
37
test/no_cxx11_trailing_result_types_fail.cpp
Normal file
@@ -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();
|
||||
}
|
||||
|
37
test/no_cxx11_trailing_result_types_pass.cpp
Normal file
37
test/no_cxx11_trailing_result_types_pass.cpp
Normal file
@@ -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();
|
||||
}
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_decltype::test();
|
||||
return boost_no_cxx11_decltype::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_defaulted_functions::test();
|
||||
return boost_no_cxx11_defaulted_functions::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_deleted_functions::test();
|
||||
return boost_no_cxx11_deleted_functions::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_explicit_conversion_operators::test();
|
||||
return boost_no_cxx11_explicit_conversion_operators::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_extern_template::test();
|
||||
return boost_no_cxx11_extern_template::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_lambdas::test();
|
||||
return boost_no_cxx11_lambdas::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_noexcept::test();
|
||||
return boost_no_cxx11_noexcept::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_nullptr::test();
|
||||
return boost_no_cxx11_nullptr::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_raw_literals::test();
|
||||
return boost_no_cxx11_raw_literals::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_rvalue_references::test();
|
||||
return boost_no_cxx11_rvalue_references::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_scoped_enums::test();
|
||||
return boost_no_cxx11_scoped_enums::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_static_assert::test();
|
||||
return boost_no_cxx11_static_assert::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_template_aliases::test();
|
||||
return boost_no_cxx11_template_aliases::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_unicode_literals::test();
|
||||
return boost_no_cxx11_unicode_literals::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_unified_initialization_syntax::test();
|
||||
return boost_no_cxx11_unified_initialization_syntax::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_variadic_macros::test();
|
||||
return boost_no_cxx11_variadic_macros::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
@@ -32,6 +32,6 @@
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_variadic_templates::test();
|
||||
return boost_no_cxx11_variadic_templates::test();
|
||||
}
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user