From 5bf05c9fbb929fe14284663c1903af4ec664466f Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Wed, 22 Jul 2015 17:59:45 +0100 Subject: [PATCH] Reinstate BOOST_NO_CXX11_CONSTEXPR for VC14 - support isn't quite there yet. --- include/boost/config/compiler/visualc.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index f1e1efeb..7a5741fe 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -191,12 +191,16 @@ # define BOOST_NO_CXX14_BINARY_LITERALS # define BOOST_NO_CXX14_GENERIC_LAMBDAS # define BOOST_NO_CXX14_DIGIT_SEPARATORS -# define BOOST_NO_CXX11_CONSTEXPR #endif // C++11 features not supported by any versions #define BOOST_NO_SFINAE_EXPR #define BOOST_NO_TWO_PHASE_NAME_LOOKUP +// +// This is somewhat supported in VC14, but we may need to wait for +// a service release before enabling: +// +#define BOOST_NO_CXX11_CONSTEXPR // C++ 14: #if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304)