Disable C++14 constexpr for Intel compiler

Intel compiler up to version 17.0 (on Linux) makes constexpr member functions implicitly const-qualified.
This commit is contained in:
Andrey Semashev
2016-12-11 16:45:12 +04:00
committed by GitHub
parent 209302a3ed
commit 6f0c359a4e

View File

@ -496,6 +496,11 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {};
# define BOOST_NO_CXX11_HDR_TUPLE
#endif
// Broken in all versions up to 17:
#if !defined(BOOST_NO_CXX14_CONSTEXPR)
#define BOOST_NO_CXX14_CONSTEXPR
#endif
#if (BOOST_INTEL_CXX_VERSION < 1200)
//
// fenv.h appears not to work with Intel prior to 12.0: