From 7c7c58417bc672b9b4817b3b5b5147d000ebede0 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 4 Jul 2016 18:03:05 +0100 Subject: [PATCH] Enable constexpr support in VC14up3. --- include/boost/config/compiler/visualc.hpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index bd23d18c..4d6fa262 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -188,6 +188,7 @@ # define BOOST_NO_CXX14_VARIABLE_TEMPLATES # define BOOST_NO_SFINAE_EXPR # define BOOST_NO_TWO_PHASE_NAME_LOOKUP +# define BOOST_NO_CXX11_CONSTEXPR #endif // MSVC including version 14 has not yet completely @@ -207,19 +208,6 @@ // (Niels Dekker, LKEB, May 2010) #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION // -// C++11 features not supported by any versions -// -// This is somewhat supported in VC14, but we may need to wait for -// a service release before enabling: -// -// To ease testing MSVC compiler updates, suppress BOOST_NO_CXX11_CONSTEXPR if requested -#ifndef BOOST_MSVC_CXX11_CONSTEXPR -// Not defining this for VC14up3 causes harmless failures in multiprecision and metaparse -// but a critical failure in chrono (nothing much builds). It also causes a strange runtime -// failure in type_erasure. -#define BOOST_NO_CXX11_CONSTEXPR -#endif - // C++ 14: #if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304) # define BOOST_NO_CXX14_AGGREGATE_NSDMI