From 2bbe588a3f37382a4a25707be2dd7463cc57bc2d Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Fri, 6 Jun 2014 09:53:14 +0200 Subject: [PATCH] Add BOOST_MSVC_ENABLE_2014_JUN_CTP marco Disables new features supplied by VC++ 14 CTP1 by default --- include/boost/config/compiler/visualc.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index ffb3661c..cef7a4b7 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -168,9 +168,11 @@ # define BOOST_NO_CXX11_DECLTYPE_N3276 #endif -// C++11 features supported by VC++ 14 CTP1. +// C++11 features supported by VC++ 14 CTP1 +// Because the CTP is unsupported, unrelease, and only alpha quality, +// it is only supported if BOOST_MSVC_ENABLE_2014_JUN_CTP is defined. // -#if _MSC_FULL_VER < 190021730 +#if (_MSC_FULL_VER < 190021730) || !defined(BOOST_MSVC_ENABLE_2014_JUN_CTP) # define BOOST_NO_CXX11_NOEXCEPT # define BOOST_NO_CXX11_REF_QUALIFIERS # define BOOST_NO_CXX11_USER_DEFINED_LITERALS