Update for MSVC-14 CTP14.

Fix <type_traits> tests to check for the correct names!
This commit is contained in:
jzmaddock
2014-10-19 17:05:01 +01:00
parent 35360b6c07
commit d9026f1d45
2 changed files with 21 additions and 24 deletions

View File

@ -182,6 +182,8 @@
# define BOOST_NO_CXX11_USER_DEFINED_LITERALS # define BOOST_NO_CXX11_USER_DEFINED_LITERALS
# define BOOST_NO_CXX11_ALIGNAS # define BOOST_NO_CXX11_ALIGNAS
# define BOOST_NO_CXX11_INLINE_NAMESPACES # define BOOST_NO_CXX11_INLINE_NAMESPACES
# define BOOST_NO_CXX14_DECLTYPE_AUTO
# define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
#endif #endif
// C++11 features not supported by any versions // C++11 features not supported by any versions
@ -202,18 +204,12 @@
#if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304) #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
# define BOOST_NO_CXX14_CONSTEXPR # define BOOST_NO_CXX14_CONSTEXPR
#endif #endif
#if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304)
# define BOOST_NO_CXX14_DECLTYPE_AUTO
#endif
#if (__cplusplus < 201304) // There's no SD6 check for this.... #if (__cplusplus < 201304) // There's no SD6 check for this....
# define BOOST_NO_CXX14_DIGIT_SEPARATOR # define BOOST_NO_CXX14_DIGIT_SEPARATOR
#endif #endif
#if !defined(__cpp_generic_lambdas) || (__cpp_generic_lambdas < 201304) #if !defined(__cpp_generic_lambdas) || (__cpp_generic_lambdas < 201304)
# define BOOST_NO_CXX14_GENERIC_LAMBDAS # define BOOST_NO_CXX14_GENERIC_LAMBDAS
#endif #endif
#if !defined(__cpp_init_captures) || (__cpp_init_captures < 201304)
# define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
#endif
#if !defined(__cpp_return_type_deduction) || (__cpp_return_type_deduction < 201304) #if !defined(__cpp_return_type_deduction) || (__cpp_return_type_deduction < 201304)
# define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION # define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
#endif #endif
@ -296,8 +292,8 @@
#endif #endif
// //
// last known and checked version is 19.00.21901.1 (VC14 CTP3): // last known and checked version is 19.00.22129 (VC14 CTP4):
#if (_MSC_VER > 1800 && _MSC_FULL_VER > 190022013) #if (_MSC_VER > 1800 && _MSC_FULL_VER > 190022129)
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results" # error "Unknown compiler version - please run the configure tests and report the results"
# else # else

View File

@ -51,22 +51,23 @@ int test()
using std::is_abstract; using std::is_abstract;
using std::is_constructible; using std::is_constructible;
using std::is_nothrow_constructible; using std::is_nothrow_constructible;
using std::has_default_constructor; using std::is_default_constructible;
using std::has_copy_constructor; using std::is_copy_constructible;
using std::has_copy_assign; using std::is_copy_assignable;
using std::has_move_constructor; using std::is_move_constructible;
using std::has_move_assign; using std::is_move_assignable;
using std::has_trivial_default_constructor; using std::is_destructible;
using std::has_trivial_copy_constructor; using std::is_trivially_default_constructible;
using std::has_trivial_move_constructor; using std::is_trivially_copy_constructible;
using std::has_trivial_copy_assign; using std::is_trivially_move_constructible;
using std::has_trivial_move_assign; using std::is_trivially_copy_assignable;
using std::has_trivial_destructor; using std::is_trivially_move_assignable;
using std::has_nothrow_default_constructor; using std::is_trivially_destructible;
using std::has_nothrow_copy_constructor; using std::is_nothrow_default_constructible;
using std::has_nothrow_move_constructor; using std::is_nothrow_copy_constructible;
using std::has_nothrow_copy_assign; using std::is_nothrow_move_constructible;
using std::has_nothrow_move_assign; using std::is_nothrow_copy_assignable;
using std::is_nothrow_move_assignable;
using std::has_virtual_destructor; using std::has_virtual_destructor;
using std::is_signed; using std::is_signed;
using std::is_unsigned; using std::is_unsigned;