Enable constexpr on msvc-14.1 version 19.16

This commit is contained in:
Peter Dimov
2019-03-06 00:42:36 +02:00
parent d2abe4ca51
commit a9db300785
2 changed files with 2 additions and 1 deletions

View File

@@ -90,7 +90,7 @@
# undef BOOST_MP11_MSVC
# define BOOST_MP11_MSVC _MSC_VER
# if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 )
# if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1916 )
# define BOOST_MP11_NO_CONSTEXPR
# endif

View File

@@ -10,6 +10,7 @@
#if BOOST_MP11_MSVC
# pragma warning( disable: 4503 ) // decorated name length exceeded
# pragma warning( disable: 4307 ) // '*': integral constant overflow
#endif
#include <boost/mp11/algorithm.hpp>