forked from boostorg/mp11
Use N=257 for all compilers lacking C++14 constexpr
This commit is contained in:
@@ -57,7 +57,7 @@ int main()
|
|||||||
{
|
{
|
||||||
using boost::mp11::mp_iota_c;
|
using boost::mp11::mp_iota_c;
|
||||||
|
|
||||||
#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 )
|
#if !defined( BOOST_MP11_HAS_CXX14_CONSTEXPR )
|
||||||
|
|
||||||
int const N = 257;
|
int const N = 257;
|
||||||
|
|
||||||
|
@@ -58,7 +58,7 @@ int main()
|
|||||||
using boost::mp11::mp_bind_front;
|
using boost::mp11::mp_bind_front;
|
||||||
using boost::mp11::mp_less;
|
using boost::mp11::mp_less;
|
||||||
|
|
||||||
#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 )
|
#if !defined( BOOST_MP11_HAS_CXX14_CONSTEXPR )
|
||||||
|
|
||||||
int const N = 257;
|
int const N = 257;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user