mirror of
https://github.com/boostorg/mp11.git
synced 2025-08-06 15:54:32 +02:00
Enable constexpr on msvc-14.1 version 19.16
This commit is contained in:
@@ -90,7 +90,7 @@
|
|||||||
# undef BOOST_MP11_MSVC
|
# undef BOOST_MP11_MSVC
|
||||||
# define BOOST_MP11_MSVC _MSC_VER
|
# 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
|
# define BOOST_MP11_NO_CONSTEXPR
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
#if BOOST_MP11_MSVC
|
#if BOOST_MP11_MSVC
|
||||||
# pragma warning( disable: 4503 ) // decorated name length exceeded
|
# pragma warning( disable: 4503 ) // decorated name length exceeded
|
||||||
|
# pragma warning( disable: 4307 ) // '*': integral constant overflow
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/mp11/algorithm.hpp>
|
#include <boost/mp11/algorithm.hpp>
|
||||||
|
Reference in New Issue
Block a user