Index: test/boost_no_cxx11_u32string.ipp =================================================================== --- test/boost_no_cxx11_u32string.ipp (revision 0) +++ test/boost_no_cxx11_u32string.ipp (revision 0) @@ -0,0 +1,31 @@ +// (C) Copyright Vicente J. Botet Escriba 2010. +// 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 most recent version. + +// MACRO: BOOST_NO_CXX11_U32STRING +// TITLE: class std::u32string in +// DESCRIPTION: class std::u32string is not available for use. + +#include + +namespace boost_no_cxx11_u32string { + +std::u32string f() +{ + // this is never called, it just has to compile: + return std::u32string(); +} + +int test() +{ + return 0; +} + +} + + + + Property changes on: test/boost_no_cxx11_u32string.ipp ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:keywords + Id Added: svn:eol-style + native Index: test/config_info.cpp =================================================================== --- test/config_info.cpp (revision 80898) +++ test/config_info.cpp (working copy) @@ -1026,6 +1026,7 @@ PRINT_MACRO(BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS); PRINT_MACRO(BOOST_NO_CXX11_NOEXCEPT); PRINT_MACRO(BOOST_NO_CXX11_NULLPTR); + PRINT_MACRO(BOOST_NO_CXX11_NUMERIC_LIMITS); PRINT_MACRO(BOOST_NO_CXX11_RANGE_BASED_FOR); PRINT_MACRO(BOOST_NO_CXX11_RAW_LITERALS); PRINT_MACRO(BOOST_NO_CXX11_RVALUE_REFERENCES); @@ -1033,6 +1034,8 @@ 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_U16STRING); + PRINT_MACRO(BOOST_NO_CXX11_U32STRING); PRINT_MACRO(BOOST_NO_CXX11_UNICODE_LITERALS); PRINT_MACRO(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX); PRINT_MACRO(BOOST_NO_CXX11_VARIADIC_MACROS); @@ -1061,7 +1064,6 @@ PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATE_KEYWORD); PRINT_MACRO(BOOST_NO_MS_INT64_NUMERIC_LIMITS); PRINT_MACRO(BOOST_NO_NESTED_FRIENDSHIP); - PRINT_MACRO(BOOST_NO_CXX11_NUMERIC_LIMITS); PRINT_MACRO(BOOST_NO_OPERATORS_IN_NAMESPACE); PRINT_MACRO(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS); PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_CONST); @@ -1118,6 +1120,11 @@ + + + + + // END GENERATED BLOCK PRINT_MACRO(BOOST_INTEL); Index: test/config_test.cpp =================================================================== --- test/config_test.cpp (revision 80898) +++ test/config_test.cpp (working copy) @@ -1,4 +1,4 @@ -// This file was automatically generated on Tue Jul 10 14:57:46 2012 +// This file was automatically generated on Sun Oct 7 22:00:47 2012 // by libs/config/tools/generate.cpp // Copyright John Maddock 2002-4. // Use, modification and distribution are subject to the @@ -182,16 +182,16 @@ #else namespace boost_no_cxx11_hdr_tuple = empty_boost; #endif +#ifndef BOOST_NO_CXX11_HDR_TYPE_TRAITS +#include "boost_no_cxx11_hdr_type_traits.ipp" +#else +namespace boost_no_cxx11_hdr_type_traits = empty_boost; +#endif #ifndef BOOST_NO_CXX11_HDR_TYPEINDEX #include "boost_no_cxx11_hdr_typeindex.ipp" #else namespace boost_no_cxx11_hdr_typeindex = empty_boost; #endif -#ifndef BOOST_NO_CXX11_HDR_TYPE_TRAITS -#include "boost_no_cxx11_hdr_type_traits.ipp" -#else -namespace boost_no_cxx11_hdr_type_traits = empty_boost; -#endif #ifndef BOOST_NO_CXX11_HDR_UNORDERED_MAP #include "boost_no_cxx11_hdr_unordered_map.ipp" #else @@ -202,11 +202,26 @@ #else namespace boost_no_cxx11_hdr_unordered_set = empty_boost; #endif +#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS +#include "boost_no_cxx11_numeric_limits.ipp" +#else +namespace boost_no_cxx11_numeric_limits = empty_boost; +#endif #ifndef BOOST_NO_CXX11_SMART_PTR #include "boost_no_cxx11_smart_ptr.ipp" #else namespace boost_no_cxx11_smart_ptr = empty_boost; #endif +#ifndef BOOST_NO_CXX11_U16STRING +#include "boost_no_cxx11_u16string.ipp" +#else +namespace boost_no_cxx11_u16string = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_U32STRING +#include "boost_no_cxx11_u32string.ipp" +#else +namespace boost_no_cxx11_u32string = empty_boost; +#endif #ifndef BOOST_NO_CXX11_HDR_FUNCTIONAL #include "boost_no_cxx_hdr_functional.ipp" #else @@ -247,26 +262,26 @@ #else namespace boost_no_dependent_types_in_template_value_parameters = empty_boost; #endif +#ifndef BOOST_NO_EXCEPTION_STD_NAMESPACE +#include "boost_no_excep_std.ipp" +#else +namespace boost_no_exception_std_namespace = empty_boost; +#endif #ifndef BOOST_NO_EXCEPTIONS #include "boost_no_exceptions.ipp" #else namespace boost_no_exceptions = empty_boost; #endif -#ifndef BOOST_NO_EXCEPTION_STD_NAMESPACE -#include "boost_no_excep_std.ipp" +#ifndef BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS +#include "boost_no_exp_func_tem_arg.ipp" #else -namespace boost_no_exception_std_namespace = empty_boost; +namespace boost_no_explicit_function_template_arguments = empty_boost; #endif #ifndef BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS #include "boost_no_explicit_cvt_ops.ipp" #else namespace boost_no_cxx11_explicit_conversion_operators = empty_boost; #endif -#ifndef BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS -#include "boost_no_exp_func_tem_arg.ipp" -#else -namespace boost_no_explicit_function_template_arguments = empty_boost; -#endif #ifndef BOOST_NO_CXX11_EXTERN_TEMPLATE #include "boost_no_extern_template.ipp" #else @@ -277,6 +292,11 @@ #else namespace boost_no_fenv_h = empty_boost; #endif +#ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING +#include "boost_no_func_tmp_order.ipp" +#else +namespace boost_no_function_template_ordering = empty_boost; +#endif #ifndef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS #include "boost_no_function_template_default_args.ipp" #else @@ -287,11 +307,6 @@ #else namespace boost_no_function_type_specializations = empty_boost; #endif -#ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING -#include "boost_no_func_tmp_order.ipp" -#else -namespace boost_no_function_template_ordering = empty_boost; -#endif #ifndef BOOST_NO_MS_INT64_NUMERIC_LIMITS #include "boost_no_i64_limits.ipp" #else @@ -342,11 +357,6 @@ #else namespace boost_no_limits_compile_time_constants = empty_boost; #endif -#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS -#include "boost_no_cxx11_numeric_limits.ipp" -#else -namespace boost_no_cxx11_numeric_limits = empty_boost; -#endif #ifndef BOOST_NO_LONG_LONG_NUMERIC_LIMITS #include "boost_no_ll_limits.ipp" #else @@ -362,16 +372,6 @@ #else namespace boost_no_member_function_specializations = empty_boost; #endif -#ifndef BOOST_NO_MEMBER_TEMPLATES -#include "boost_no_mem_templates.ipp" -#else -namespace boost_no_member_templates = empty_boost; -#endif -#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS -#include "boost_no_mem_templ_frnds.ipp" -#else -namespace boost_no_member_template_friends = empty_boost; -#endif #ifndef BOOST_NO_MEMBER_TEMPLATE_KEYWORD #include "boost_no_mem_tem_keyword.ipp" #else @@ -382,6 +382,16 @@ #else namespace boost_no_pointer_to_member_template_parameters = empty_boost; #endif +#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS +#include "boost_no_mem_templ_frnds.ipp" +#else +namespace boost_no_member_template_friends = empty_boost; +#endif +#ifndef BOOST_NO_MEMBER_TEMPLATES +#include "boost_no_mem_templates.ipp" +#else +namespace boost_no_member_templates = empty_boost; +#endif #ifndef BOOST_NO_NESTED_FRIENDSHIP #include "boost_no_nested_friendship.ipp" #else @@ -402,16 +412,16 @@ #else namespace boost_no_operators_in_namespace = empty_boost; #endif +#ifndef BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS +#include "boost_no_part_spec_def_args.ipp" +#else +namespace boost_no_partial_specialization_implicit_default_args = empty_boost; +#endif #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION #include "boost_no_partial_spec.ipp" #else namespace boost_no_template_partial_specialization = empty_boost; #endif -#ifndef BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS -#include "boost_no_part_spec_def_args.ipp" -#else -namespace boost_no_partial_specialization_implicit_default_args = empty_boost; -#endif #ifndef BOOST_NO_PRIVATE_IN_AGGREGATE #include "boost_no_priv_aggregate.ipp" #else @@ -472,11 +482,6 @@ #else namespace boost_no_cxx11_static_assert = empty_boost; #endif -#ifndef BOOST_NO_STDC_NAMESPACE -#include "boost_no_stdc_namespace.ipp" -#else -namespace boost_no_stdc_namespace = empty_boost; -#endif #ifndef BOOST_NO_STD_ALLOCATOR #include "boost_no_std_allocator.ipp" #else @@ -487,16 +492,16 @@ #else namespace boost_no_std_distance = empty_boost; #endif +#ifndef BOOST_NO_STD_ITERATOR_TRAITS +#include "boost_no_std_iter_traits.ipp" +#else +namespace boost_no_std_iterator_traits = empty_boost; +#endif #ifndef BOOST_NO_STD_ITERATOR #include "boost_no_std_iterator.ipp" #else namespace boost_no_std_iterator = empty_boost; #endif -#ifndef BOOST_NO_STD_ITERATOR_TRAITS -#include "boost_no_std_iter_traits.ipp" -#else -namespace boost_no_std_iterator_traits = empty_boost; -#endif #ifndef BOOST_NO_STD_LOCALE #include "boost_no_std_locale.ipp" #else @@ -542,11 +547,21 @@ #else namespace boost_no_std_wstring = empty_boost; #endif +#ifndef BOOST_NO_STDC_NAMESPACE +#include "boost_no_stdc_namespace.ipp" +#else +namespace boost_no_stdc_namespace = empty_boost; +#endif #ifndef BOOST_NO_SWPRINTF #include "boost_no_swprintf.ipp" #else namespace boost_no_swprintf = empty_boost; #endif +#ifndef BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS +#include "boost_no_tem_local_classes.ipp" +#else +namespace boost_no_cxx11_local_class_template_parameters = empty_boost; +#endif #ifndef BOOST_NO_CXX11_TEMPLATE_ALIASES #include "boost_no_template_aliases.ipp" #else @@ -562,11 +577,6 @@ #else namespace boost_no_template_templates = empty_boost; #endif -#ifndef BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#include "boost_no_tem_local_classes.ipp" -#else -namespace boost_no_cxx11_local_class_template_parameters = empty_boost; -#endif #ifndef BOOST_NO_TWO_PHASE_NAME_LOOKUP #include "boost_no_two_phase_lookup.ipp" #else @@ -713,11 +723,6 @@ #else namespace boost_has_partial_std_allocator = empty_boost; #endif -#ifdef BOOST_HAS_PTHREADS -#include "boost_has_pthreads.ipp" -#else -namespace boost_has_pthreads = empty_boost; -#endif #ifdef BOOST_HAS_PTHREAD_DELAY_NP #include "boost_has_pthread_delay_np.ipp" #else @@ -733,6 +738,11 @@ #else namespace boost_has_pthread_yield = empty_boost; #endif +#ifdef BOOST_HAS_PTHREADS +#include "boost_has_pthreads.ipp" +#else +namespace boost_has_pthreads = empty_boost; +#endif #ifdef BOOST_HAS_RVALUE_REFS #include "boost_has_rvalue_refs.ipp" #else @@ -971,11 +981,6 @@ std::cerr << "Failed test for BOOST_HAS_PARTIAL_STD_ALLOCATOR at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_has_pthreads::test()) - { - std::cerr << "Failed test for BOOST_HAS_PTHREADS at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } if(0 != boost_has_pthread_delay_np::test()) { std::cerr << "Failed test for BOOST_HAS_PTHREAD_DELAY_NP at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -991,6 +996,11 @@ std::cerr << "Failed test for BOOST_HAS_PTHREAD_YIELD at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_has_pthreads::test()) + { + std::cerr << "Failed test for BOOST_HAS_PTHREADS at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_has_rvalue_refs::test()) { std::cerr << "Failed test for BOOST_HAS_RVALUE_REFS at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1301,14 +1311,14 @@ std::cerr << "Failed test for BOOST_NO_CXX11_HDR_TUPLE at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_cxx11_hdr_typeindex::test()) + if(0 != boost_no_cxx11_hdr_type_traits::test()) { - std::cerr << "Failed test for BOOST_NO_CXX11_HDR_TYPEINDEX at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_TYPE_TRAITS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_cxx11_hdr_type_traits::test()) + if(0 != boost_no_cxx11_hdr_typeindex::test()) { - std::cerr << "Failed test for BOOST_NO_CXX11_HDR_TYPE_TRAITS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_TYPEINDEX at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_cxx11_hdr_unordered_map::test()) @@ -1321,11 +1331,26 @@ std::cerr << "Failed test for BOOST_NO_CXX11_HDR_UNORDERED_SET 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; + ++error_count; + } if(0 != boost_no_cxx11_smart_ptr::test()) { std::cerr << "Failed test for BOOST_NO_CXX11_SMART_PTR at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_no_cxx11_u16string::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_U16STRING at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_u32string::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_U32STRING at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_no_cxx11_hdr_functional::test()) { std::cerr << "Failed test for BOOST_NO_CXX11_HDR_FUNCTIONAL at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1366,14 +1391,19 @@ std::cerr << "Failed test for BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_no_exception_std_namespace::test()) + { + std::cerr << "Failed test for BOOST_NO_EXCEPTION_STD_NAMESPACE at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_no_exceptions::test()) { std::cerr << "Failed test for BOOST_NO_EXCEPTIONS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_exception_std_namespace::test()) + if(0 != boost_no_explicit_function_template_arguments::test()) { - std::cerr << "Failed test for BOOST_NO_EXCEPTION_STD_NAMESPACE at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_cxx11_explicit_conversion_operators::test()) @@ -1381,11 +1411,6 @@ std::cerr << "Failed test for BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_explicit_function_template_arguments::test()) - { - std::cerr << "Failed test for BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } if(0 != boost_no_cxx11_extern_template::test()) { std::cerr << "Failed test for BOOST_NO_CXX11_EXTERN_TEMPLATE at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1396,6 +1421,11 @@ std::cerr << "Failed test for BOOST_NO_FENV_H at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_no_function_template_ordering::test()) + { + std::cerr << "Failed test for BOOST_NO_FUNCTION_TEMPLATE_ORDERING at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_no_cxx11_function_template_default_args::test()) { std::cerr << "Failed test for BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1406,11 +1436,6 @@ std::cerr << "Failed test for BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_function_template_ordering::test()) - { - std::cerr << "Failed test for BOOST_NO_FUNCTION_TEMPLATE_ORDERING at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } if(0 != boost_no_ms_int64_numeric_limits::test()) { std::cerr << "Failed test for BOOST_NO_MS_INT64_NUMERIC_LIMITS at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1461,11 +1486,6 @@ std::cerr << "Failed test for BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS 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; - ++error_count; - } if(0 != boost_no_long_long_numeric_limits::test()) { std::cerr << "Failed test for BOOST_NO_LONG_LONG_NUMERIC_LIMITS at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1481,24 +1501,24 @@ std::cerr << "Failed test for BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_member_templates::test()) + if(0 != boost_no_member_template_keyword::test()) { - std::cerr << "Failed test for BOOST_NO_MEMBER_TEMPLATES at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_MEMBER_TEMPLATE_KEYWORD at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_member_template_friends::test()) + if(0 != boost_no_pointer_to_member_template_parameters::test()) { - std::cerr << "Failed test for BOOST_NO_MEMBER_TEMPLATE_FRIENDS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_member_template_keyword::test()) + if(0 != boost_no_member_template_friends::test()) { - std::cerr << "Failed test for BOOST_NO_MEMBER_TEMPLATE_KEYWORD at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_MEMBER_TEMPLATE_FRIENDS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_pointer_to_member_template_parameters::test()) + if(0 != boost_no_member_templates::test()) { - std::cerr << "Failed test for BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_MEMBER_TEMPLATES at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_nested_friendship::test()) @@ -1521,14 +1541,14 @@ std::cerr << "Failed test for BOOST_NO_OPERATORS_IN_NAMESPACE at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_template_partial_specialization::test()) + if(0 != boost_no_partial_specialization_implicit_default_args::test()) { - std::cerr << "Failed test for BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_partial_specialization_implicit_default_args::test()) + if(0 != boost_no_template_partial_specialization::test()) { - std::cerr << "Failed test for BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_private_in_aggregate::test()) @@ -1591,11 +1611,6 @@ std::cerr << "Failed test for BOOST_NO_CXX11_STATIC_ASSERT at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_stdc_namespace::test()) - { - std::cerr << "Failed test for BOOST_NO_STDC_NAMESPACE at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } if(0 != boost_no_std_allocator::test()) { std::cerr << "Failed test for BOOST_NO_STD_ALLOCATOR at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1606,14 +1621,14 @@ std::cerr << "Failed test for BOOST_NO_STD_DISTANCE at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_std_iterator::test()) + if(0 != boost_no_std_iterator_traits::test()) { - std::cerr << "Failed test for BOOST_NO_STD_ITERATOR at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_STD_ITERATOR_TRAITS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_std_iterator_traits::test()) + if(0 != boost_no_std_iterator::test()) { - std::cerr << "Failed test for BOOST_NO_STD_ITERATOR_TRAITS at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_STD_ITERATOR at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_std_locale::test()) @@ -1661,11 +1676,21 @@ std::cerr << "Failed test for BOOST_NO_STD_WSTRING at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_no_stdc_namespace::test()) + { + std::cerr << "Failed test for BOOST_NO_STDC_NAMESPACE at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_no_swprintf::test()) { std::cerr << "Failed test for BOOST_NO_SWPRINTF at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_no_cxx11_local_class_template_parameters::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_no_cxx11_template_aliases::test()) { std::cerr << "Failed test for BOOST_NO_CXX11_TEMPLATE_ALIASES at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1681,11 +1706,6 @@ std::cerr << "Failed test for BOOST_NO_TEMPLATE_TEMPLATES at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_cxx11_local_class_template_parameters::test()) - { - std::cerr << "Failed test for BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } if(0 != boost_no_two_phase_name_lookup::test()) { std::cerr << "Failed test for BOOST_NO_TWO_PHASE_NAME_LOOKUP at: " << __FILE__ << ":" << __LINE__ << std::endl; Index: test/boost_no_cxx11_u16string.ipp =================================================================== --- test/boost_no_cxx11_u16string.ipp (revision 0) +++ test/boost_no_cxx11_u16string.ipp (revision 0) @@ -0,0 +1,31 @@ +// (C) Copyright Vicente J. Botet Escriba 2010. +// 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 most recent version. + +// MACRO: BOOST_NO_CXX11_U16STRING +// TITLE: class std::u16string in +// DESCRIPTION: class std::u16string is not available for use. + +#include + +namespace boost_no_cxx11_u16string { + +std::u16string f() +{ + // this is never called, it just has to compile: + return std::u16string(); +} + +int test() +{ + return 0; +} + +} + + + + Property changes on: test/boost_no_cxx11_u16string.ipp ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:keywords + Id Added: svn:eol-style + native Index: test/all/Jamfile.v2 =================================================================== --- test/all/Jamfile.v2 (revision 80898) +++ test/all/Jamfile.v2 (working copy) @@ -1,7 +1,7 @@ # # Regression test Jamfile for boost configuration setup. # *** DO NOT EDIT THIS FILE BY HAND *** -# This file was automatically generated on Tue Jul 10 14:57:46 2012 +# This file was automatically generated on Sun Oct 7 22:00:47 2012 # by libs/config/tools/generate.cpp # Copyright John Maddock. # Use, modification and distribution are subject to the @@ -73,9 +73,6 @@ test-suite "BOOST_HAS_PARTIAL_STD_ALLOCATOR" : [ run ../has_part_alloc_pass.cpp ] [ compile-fail ../has_part_alloc_fail.cpp ] ; -test-suite "BOOST_HAS_PTHREADS" : -[ run ../has_pthreads_pass.cpp ] -[ compile-fail ../has_pthreads_fail.cpp ] ; test-suite "BOOST_HAS_PTHREAD_DELAY_NP" : [ run ../has_pthread_delay_np_pass.cpp ] [ compile-fail ../has_pthread_delay_np_fail.cpp ] ; @@ -85,6 +82,9 @@ test-suite "BOOST_HAS_PTHREAD_YIELD" : [ run ../has_pthread_yield_pass.cpp ] [ compile-fail ../has_pthread_yield_fail.cpp ] ; +test-suite "BOOST_HAS_PTHREADS" : +[ run ../has_pthreads_pass.cpp ] +[ compile-fail ../has_pthreads_fail.cpp ] ; test-suite "BOOST_HAS_RVALUE_REFS" : [ run ../has_rvalue_refs_pass.cpp ] [ compile-fail ../has_rvalue_refs_fail.cpp ] ; @@ -271,21 +271,30 @@ test-suite "BOOST_NO_CXX11_HDR_TUPLE" : [ run ../no_cxx11_hdr_tuple_pass.cpp ] [ compile-fail ../no_cxx11_hdr_tuple_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_TYPE_TRAITS" : +[ run ../no_cxx11_hdr_type_traits_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_type_traits_fail.cpp ] ; test-suite "BOOST_NO_CXX11_HDR_TYPEINDEX" : [ run ../no_cxx11_hdr_typeindex_pass.cpp ] [ compile-fail ../no_cxx11_hdr_typeindex_fail.cpp ] ; -test-suite "BOOST_NO_CXX11_HDR_TYPE_TRAITS" : -[ run ../no_cxx11_hdr_type_traits_pass.cpp ] -[ compile-fail ../no_cxx11_hdr_type_traits_fail.cpp ] ; test-suite "BOOST_NO_CXX11_HDR_UNORDERED_MAP" : [ run ../no_cxx11_hdr_unordered_map_pass.cpp ] [ compile-fail ../no_cxx11_hdr_unordered_map_fail.cpp ] ; 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_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_U16STRING" : +[ run ../no_cxx11_u16string_pass.cpp ] +[ compile-fail ../no_cxx11_u16string_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_U32STRING" : +[ run ../no_cxx11_u32string_pass.cpp ] +[ compile-fail ../no_cxx11_u32string_fail.cpp ] ; test-suite "BOOST_NO_CXX11_HDR_FUNCTIONAL" : [ run ../no_cxx_hdr_functional_pass.cpp ] [ compile-fail ../no_cxx_hdr_functional_fail.cpp ] ; @@ -310,33 +319,33 @@ test-suite "BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS" : [ run ../no_dep_val_param_pass.cpp ] [ compile-fail ../no_dep_val_param_fail.cpp ] ; +test-suite "BOOST_NO_EXCEPTION_STD_NAMESPACE" : +[ run ../no_excep_std_pass.cpp ] +[ compile-fail ../no_excep_std_fail.cpp ] ; test-suite "BOOST_NO_EXCEPTIONS" : [ run ../no_exceptions_pass.cpp ] [ compile-fail ../no_exceptions_fail.cpp ] ; -test-suite "BOOST_NO_EXCEPTION_STD_NAMESPACE" : -[ run ../no_excep_std_pass.cpp ] -[ compile-fail ../no_excep_std_fail.cpp ] ; +test-suite "BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS" : +[ run ../no_exp_func_tem_arg_pass.cpp ] +[ compile-fail ../no_exp_func_tem_arg_fail.cpp ] ; test-suite "BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS" : [ run ../no_explicit_cvt_ops_pass.cpp ] [ compile-fail ../no_explicit_cvt_ops_fail.cpp ] ; -test-suite "BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS" : -[ run ../no_exp_func_tem_arg_pass.cpp ] -[ compile-fail ../no_exp_func_tem_arg_fail.cpp ] ; test-suite "BOOST_NO_CXX11_EXTERN_TEMPLATE" : [ run ../no_extern_template_pass.cpp ] [ compile-fail ../no_extern_template_fail.cpp ] ; test-suite "BOOST_NO_FENV_H" : [ run ../no_fenv_h_pass.cpp ] [ compile-fail ../no_fenv_h_fail.cpp ] ; +test-suite "BOOST_NO_FUNCTION_TEMPLATE_ORDERING" : +[ run ../no_func_tmp_order_pass.cpp ] +[ compile-fail ../no_func_tmp_order_fail.cpp ] ; test-suite "BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS" : [ run ../no_function_template_default_args_pass.cpp ] [ compile-fail ../no_function_template_default_args_fail.cpp ] ; test-suite "BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS" : [ run ../no_function_type_spec_pass.cpp ] [ compile-fail ../no_function_type_spec_fail.cpp ] ; -test-suite "BOOST_NO_FUNCTION_TEMPLATE_ORDERING" : -[ run ../no_func_tmp_order_pass.cpp ] -[ compile-fail ../no_func_tmp_order_fail.cpp ] ; test-suite "BOOST_NO_MS_INT64_NUMERIC_LIMITS" : [ run ../no_i64_limits_pass.cpp ] [ compile-fail ../no_i64_limits_fail.cpp ] ; @@ -367,9 +376,6 @@ test-suite "BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS" : [ run ../no_limits_const_exp_pass.cpp ] [ compile-fail ../no_limits_const_exp_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_LONG_LONG_NUMERIC_LIMITS" : [ run ../no_ll_limits_pass.cpp ] [ compile-fail ../no_ll_limits_fail.cpp ] ; @@ -379,18 +385,18 @@ test-suite "BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS" : [ run ../no_mem_func_spec_pass.cpp ] [ compile-fail ../no_mem_func_spec_fail.cpp ] ; -test-suite "BOOST_NO_MEMBER_TEMPLATES" : -[ run ../no_mem_templates_pass.cpp ] -[ compile-fail ../no_mem_templates_fail.cpp ] ; -test-suite "BOOST_NO_MEMBER_TEMPLATE_FRIENDS" : -[ run ../no_mem_templ_frnds_pass.cpp ] -[ compile-fail ../no_mem_templ_frnds_fail.cpp ] ; test-suite "BOOST_NO_MEMBER_TEMPLATE_KEYWORD" : [ run ../no_mem_tem_keyword_pass.cpp ] [ compile-fail ../no_mem_tem_keyword_fail.cpp ] ; test-suite "BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS" : [ run ../no_mem_tem_pnts_pass.cpp ] [ compile-fail ../no_mem_tem_pnts_fail.cpp ] ; +test-suite "BOOST_NO_MEMBER_TEMPLATE_FRIENDS" : +[ run ../no_mem_templ_frnds_pass.cpp ] +[ compile-fail ../no_mem_templ_frnds_fail.cpp ] ; +test-suite "BOOST_NO_MEMBER_TEMPLATES" : +[ run ../no_mem_templates_pass.cpp ] +[ compile-fail ../no_mem_templates_fail.cpp ] ; test-suite "BOOST_NO_NESTED_FRIENDSHIP" : [ run ../no_nested_friendship_pass.cpp ] [ compile-fail ../no_nested_friendship_fail.cpp ] ; @@ -403,12 +409,12 @@ test-suite "BOOST_NO_OPERATORS_IN_NAMESPACE" : [ run ../no_ops_in_namespace_pass.cpp ] [ compile-fail ../no_ops_in_namespace_fail.cpp ] ; +test-suite "BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS" : +[ run ../no_part_spec_def_args_pass.cpp ] +[ compile-fail ../no_part_spec_def_args_fail.cpp ] ; test-suite "BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION" : [ run ../no_partial_spec_pass.cpp ] [ compile-fail ../no_partial_spec_fail.cpp ] ; -test-suite "BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS" : -[ run ../no_part_spec_def_args_pass.cpp ] -[ compile-fail ../no_part_spec_def_args_fail.cpp ] ; test-suite "BOOST_NO_PRIVATE_IN_AGGREGATE" : [ run ../no_priv_aggregate_pass.cpp ] [ compile-fail ../no_priv_aggregate_fail.cpp ] ; @@ -445,21 +451,18 @@ test-suite "BOOST_NO_CXX11_STATIC_ASSERT" : [ run ../no_static_assert_pass.cpp ] [ compile-fail ../no_static_assert_fail.cpp ] ; -test-suite "BOOST_NO_STDC_NAMESPACE" : -[ run ../no_stdc_namespace_pass.cpp ] -[ compile-fail ../no_stdc_namespace_fail.cpp ] ; test-suite "BOOST_NO_STD_ALLOCATOR" : [ run ../no_std_allocator_pass.cpp ] [ compile-fail ../no_std_allocator_fail.cpp ] ; test-suite "BOOST_NO_STD_DISTANCE" : [ run ../no_std_distance_pass.cpp ] [ compile-fail ../no_std_distance_fail.cpp ] ; +test-suite "BOOST_NO_STD_ITERATOR_TRAITS" : +[ run ../no_std_iter_traits_pass.cpp ] +[ compile-fail ../no_std_iter_traits_fail.cpp ] ; test-suite "BOOST_NO_STD_ITERATOR" : [ run ../no_std_iterator_pass.cpp ] [ compile-fail ../no_std_iterator_fail.cpp ] ; -test-suite "BOOST_NO_STD_ITERATOR_TRAITS" : -[ run ../no_std_iter_traits_pass.cpp ] -[ compile-fail ../no_std_iter_traits_fail.cpp ] ; test-suite "BOOST_NO_STD_LOCALE" : [ run ../no_std_locale_pass.cpp ] [ compile-fail ../no_std_locale_fail.cpp ] ; @@ -487,9 +490,15 @@ test-suite "BOOST_NO_STD_WSTRING" : [ run ../no_std_wstring_pass.cpp ] [ compile-fail ../no_std_wstring_fail.cpp ] ; +test-suite "BOOST_NO_STDC_NAMESPACE" : +[ run ../no_stdc_namespace_pass.cpp ] +[ compile-fail ../no_stdc_namespace_fail.cpp ] ; test-suite "BOOST_NO_SWPRINTF" : [ run ../no_swprintf_pass.cpp ] [ compile-fail ../no_swprintf_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS" : +[ run ../no_tem_local_classes_pass.cpp ] +[ compile-fail ../no_tem_local_classes_fail.cpp ] ; test-suite "BOOST_NO_CXX11_TEMPLATE_ALIASES" : [ run ../no_template_aliases_pass.cpp ] [ compile-fail ../no_template_aliases_fail.cpp ] ; @@ -499,9 +508,6 @@ test-suite "BOOST_NO_TEMPLATE_TEMPLATES" : [ run ../no_template_template_pass.cpp ] [ compile-fail ../no_template_template_fail.cpp ] ; -test-suite "BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS" : -[ run ../no_tem_local_classes_pass.cpp ] -[ compile-fail ../no_tem_local_classes_fail.cpp ] ; test-suite "BOOST_NO_TWO_PHASE_NAME_LOOKUP" : [ run ../no_two_phase_lookup_pass.cpp ] [ compile-fail ../no_two_phase_lookup_fail.cpp ] ; Index: doc/macro_reference.qbk =================================================================== --- doc/macro_reference.qbk (revision 80898) +++ doc/macro_reference.qbk (working copy) @@ -565,7 +565,10 @@ [[`BOOST_NO_CXX11_HDR_UNORDERED_MAP`][The standard library does not provide header .]] [[`BOOST_NO_CXX11_HDR_UNORDERED_SET`][The standard library does not provide header .]] [[`BOOST_NO_CXX11_SMART_PTR`][The standard library header has no shared_ptr and unique_ptr.]] +[[`BOOST_NO_CXX11_U16STRING`][The standard library header has no `std::u16string`.]] +[[`BOOST_NO_CXX11_U32STRING`][The standard library header has no `std::u32string`.]] + [[`BOOST_NO_CXX11_AUTO_DECLARATIONS`][The compiler does not support type deduction for variables declared with the `auto` keyword (`auto var = ...;`). ]]