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:
Andrey Semashev committed 2013-06-22 12:23:09 +00:00
1 parent 411399ec60
commit 23579c60d2
74 files changed
+349 -81

No files matched your search

+6
View File
@@ -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
View 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;
}
}
@@ -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);
}
}
+2
View File
@@ -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);
+20
View File
@@ -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;
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_auto_declarations::test();
return boost_no_cxx11_auto_declarations::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_auto_multideclarations::test();
return boost_no_cxx11_auto_multideclarations::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_char16_t::test();
return boost_no_cxx11_char16_t::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_char32_t::test();
return boost_no_cxx11_char32_t::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_constexpr::test();
return boost_no_cxx11_constexpr::test();
}
+2 -2
View File
@@ -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
View 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
View 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();
}
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_decltype::test();
return boost_no_cxx11_decltype::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_defaulted_functions::test();
return boost_no_cxx11_defaulted_functions::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_deleted_functions::test();
return boost_no_cxx11_deleted_functions::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_explicit_conversion_operators::test();
return boost_no_cxx11_explicit_conversion_operators::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_extern_template::test();
return boost_no_cxx11_extern_template::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_lambdas::test();
return boost_no_cxx11_lambdas::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_noexcept::test();
return boost_no_cxx11_noexcept::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_nullptr::test();
return boost_no_cxx11_nullptr::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_raw_literals::test();
return boost_no_cxx11_raw_literals::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_rvalue_references::test();
return boost_no_cxx11_rvalue_references::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_scoped_enums::test();
return boost_no_cxx11_scoped_enums::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_static_assert::test();
return boost_no_cxx11_static_assert::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -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();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_template_aliases::test();
return boost_no_cxx11_template_aliases::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_unicode_literals::test();
return boost_no_cxx11_unicode_literals::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_unified_initialization_syntax::test();
return boost_no_cxx11_unified_initialization_syntax::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_variadic_macros::test();
return boost_no_cxx11_variadic_macros::test();
}
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -32,6 +32,6 @@
int main( int, char *[] )
{
return boost_no_variadic_templates::test();
return boost_no_cxx11_variadic_templates::test();
}
+2 -2
View File
@@ -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();
}