forked from boostorg/config
Enable C++14 return type deduction for vc14.
This commit is contained in:
@@ -184,6 +184,7 @@
|
|||||||
# define BOOST_NO_CXX11_INLINE_NAMESPACES
|
# define BOOST_NO_CXX11_INLINE_NAMESPACES
|
||||||
# define BOOST_NO_CXX14_DECLTYPE_AUTO
|
# define BOOST_NO_CXX14_DECLTYPE_AUTO
|
||||||
# define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
|
# define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
|
||||||
|
# define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// C++11 features not supported by any versions
|
// C++11 features not supported by any versions
|
||||||
@@ -210,9 +211,6 @@
|
|||||||
#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_return_type_deduction) || (__cpp_return_type_deduction < 201304)
|
|
||||||
# define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
|
|
||||||
#endif
|
|
||||||
#if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
|
#if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
|
||||||
# define BOOST_NO_CXX14_VARIABLE_TEMPLATES
|
# define BOOST_NO_CXX14_VARIABLE_TEMPLATES
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user