Latest msvc seems OK with C++14 constexpr now.

This commit is contained in:
jzmaddock
2018-09-15 08:22:00 +01:00
parent cec1a860e9
commit d229f9be96

View File

@ -236,9 +236,11 @@
// Supported from msvc-15.5 onwards: // Supported from msvc-15.5 onwards:
#define BOOST_NO_CXX11_SFINAE_EXPR #define BOOST_NO_CXX11_SFINAE_EXPR
#endif #endif
#if (_MSC_VER < 1915) || (_MSVC_LANG < 201402)
// C++ 14: // C++ 14:
// Still gives internal compiler error for msvc-15.5: // Still gives internal compiler error for msvc-15.5:
# define BOOST_NO_CXX14_CONSTEXPR # define BOOST_NO_CXX14_CONSTEXPR
#endif
// C++ 17: // C++ 17:
#if (_MSC_VER < 1912) || (_MSVC_LANG < 201703) #if (_MSC_VER < 1912) || (_MSVC_LANG < 201703)
#define BOOST_NO_CXX17_INLINE_VARIABLES #define BOOST_NO_CXX17_INLINE_VARIABLES