forked from boostorg/config
Merged recent changes from trunk.
[SVN r85088]
This commit is contained in:
+12
-3
@@ -226,6 +226,12 @@ test-suite "BOOST_NO_CWCHAR" :
|
||||
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_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 ] ;
|
||||
@@ -424,9 +436,6 @@ test-suite "BOOST_NO_POINTER_TO_MEMBER_CONST" :
|
||||
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 ] ;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -992,6 +992,7 @@ void print_boost_macros()
|
||||
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 @@ 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);
|
||||
@@ -1037,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);
|
||||
@@ -1114,6 +1117,7 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_STATIC_CONSTEXPR);
|
||||
PRINT_MACRO(BOOST_NOEXCEPT);
|
||||
PRINT_MACRO(BOOST_FORCEINLINE);
|
||||
PRINT_MACRO(BOOST_NOINLINE);
|
||||
PRINT_MACRO(BOOST_FALLTHROUGH);
|
||||
}
|
||||
|
||||
|
||||
@@ -102,6 +102,11 @@ namespace boost_no_cwchar = empty_boost;
|
||||
#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 @@ 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
|
||||
@@ -1231,6 +1246,11 @@ int main( int, char *[] )
|
||||
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 @@ 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;
|
||||
@@ -1341,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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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