From 88e602c57797660ebe0f9e15dbd64c1ff16dead3 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Wed, 13 Sep 2017 11:26:20 +0900 Subject: Imported Upstream version 1.65.1 Change-Id: Ie4005d637141f8311f4b6d46b613478a2b3dae59 Signed-off-by: DongHun Kwak --- boost/config/compiler/visualc.hpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'boost/config/compiler/visualc.hpp') diff --git a/boost/config/compiler/visualc.hpp b/boost/config/compiler/visualc.hpp index c0557de712..7df92ba31b 100644 --- a/boost/config/compiler/visualc.hpp +++ b/boost/config/compiler/visualc.hpp @@ -196,6 +196,12 @@ # define BOOST_NO_CXX14_AGGREGATE_NSDMI #endif +// C++17 features supported by VC++ 14.1 (Visual Studio 2017) Update 3 +// +#if (_MSC_VER < 1911) || (_MSVC_LANG < 201703) +# define BOOST_NO_CXX17_STRUCTURED_BINDINGS +#endif + // MSVC including version 14 has not yet completely // implemented value-initialization, as is reported: // "VC++ does not value-initialize members of derived classes without @@ -220,7 +226,6 @@ // C++ 14: # define BOOST_NO_CXX14_CONSTEXPR // C++ 17: -#define BOOST_NO_CXX17_STRUCTURED_BINDINGS #define BOOST_NO_CXX17_INLINE_VARIABLES #define BOOST_NO_CXX17_FOLD_EXPRESSIONS @@ -321,8 +326,8 @@ #endif // -// last known and checked version is 19.10.25017 (VC++ 2017): -#if (_MSC_VER > 1910) +// last known and checked version is 19.11.25506 (VC++ 2017.3): +#if (_MSC_VER > 1911) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" # else -- cgit v1.2.3