diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index 023b2389..3fc26430 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -182,6 +182,8 @@ # define BOOST_NO_CXX11_USER_DEFINED_LITERALS # define BOOST_NO_CXX11_ALIGNAS # define BOOST_NO_CXX11_INLINE_NAMESPACES +# define BOOST_NO_CXX14_DECLTYPE_AUTO +# define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES #endif // C++11 features not supported by any versions @@ -202,18 +204,12 @@ #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304) # define BOOST_NO_CXX14_CONSTEXPR #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.... # define BOOST_NO_CXX14_DIGIT_SEPARATOR #endif #if !defined(__cpp_generic_lambdas) || (__cpp_generic_lambdas < 201304) # define BOOST_NO_CXX14_GENERIC_LAMBDAS #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) # define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION #endif @@ -296,8 +292,8 @@ #endif // -// last known and checked version is 19.00.21901.1 (VC14 CTP3): -#if (_MSC_VER > 1800 && _MSC_FULL_VER > 190022013) +// last known and checked version is 19.00.22129 (VC14 CTP4): +#if (_MSC_VER > 1800 && _MSC_FULL_VER > 190022129) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" # else diff --git a/test/boost_no_cxx11_hdr_type_traits.ipp b/test/boost_no_cxx11_hdr_type_traits.ipp index f33c5713..cf6cdd70 100644 --- a/test/boost_no_cxx11_hdr_type_traits.ipp +++ b/test/boost_no_cxx11_hdr_type_traits.ipp @@ -51,22 +51,23 @@ int test() using std::is_abstract; using std::is_constructible; using std::is_nothrow_constructible; - using std::has_default_constructor; - using std::has_copy_constructor; - using std::has_copy_assign; - using std::has_move_constructor; - using std::has_move_assign; - using std::has_trivial_default_constructor; - using std::has_trivial_copy_constructor; - using std::has_trivial_move_constructor; - using std::has_trivial_copy_assign; - using std::has_trivial_move_assign; - using std::has_trivial_destructor; - using std::has_nothrow_default_constructor; - using std::has_nothrow_copy_constructor; - using std::has_nothrow_move_constructor; - using std::has_nothrow_copy_assign; - using std::has_nothrow_move_assign; + using std::is_default_constructible; + using std::is_copy_constructible; + using std::is_copy_assignable; + using std::is_move_constructible; + using std::is_move_assignable; + using std::is_destructible; + using std::is_trivially_default_constructible; + using std::is_trivially_copy_constructible; + using std::is_trivially_move_constructible; + using std::is_trivially_copy_assignable; + using std::is_trivially_move_assignable; + using std::is_trivially_destructible; + using std::is_nothrow_default_constructible; + using std::is_nothrow_copy_constructible; + using std::is_nothrow_move_constructible; + using std::is_nothrow_copy_assignable; + using std::is_nothrow_move_assignable; using std::has_virtual_destructor; using std::is_signed; using std::is_unsigned;