summaryrefslogtreecommitdiff
path: root/boost/config/compiler/visualc.hpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 11:26:20 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 11:27:13 +0900
commit88e602c57797660ebe0f9e15dbd64c1ff16dead3 (patch)
treee96e9e1d22b982c9f62f86f2357a1f53f9ef9dac /boost/config/compiler/visualc.hpp
parent4fadd968fa12130524c8380f33fcfe25d4de79e5 (diff)
downloadboost-88e602c57797660ebe0f9e15dbd64c1ff16dead3.tar.gz
boost-88e602c57797660ebe0f9e15dbd64c1ff16dead3.tar.bz2
boost-88e602c57797660ebe0f9e15dbd64c1ff16dead3.zip
Imported Upstream version 1.65.1upstream/1.65.1
Change-Id: Ie4005d637141f8311f4b6d46b613478a2b3dae59 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/config/compiler/visualc.hpp')
-rw-r--r--boost/config/compiler/visualc.hpp11
1 files changed, 8 insertions, 3 deletions
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