forked from boostorg/mp11
VC++2017 still needs the workarounds.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
# define BOOST_MP11_NO_CONSTEXPR
|
||||
|
||||
#elif defined( BOOST_MSVC ) && BOOST_WORKAROUND( BOOST_MSVC, <= 1900 )
|
||||
#elif defined( BOOST_MSVC ) && BOOST_WORKAROUND( BOOST_MSVC, <= 1910 )
|
||||
|
||||
# define BOOST_MP11_NO_CONSTEXPR
|
||||
|
||||
|
@@ -69,7 +69,7 @@ template<template<class...> class L, class... T, template<class...> class P> str
|
||||
|
||||
template<template<class...> class L, class... T, template<class...> class P> struct mp_count_if_impl<L<T...>, P>
|
||||
{
|
||||
#if defined( BOOST_MSVC ) && BOOST_WORKAROUND( BOOST_MSVC, <= 1900 )
|
||||
#if defined( BOOST_MSVC ) && BOOST_WORKAROUND( BOOST_MSVC, <= 1910 )
|
||||
|
||||
template<class T> struct _f { using type = mp_to_bool<P<T>>; };
|
||||
using type = mp_size_t<mp_plus<typename _f<T>::type...>::value>;
|
||||
|
Reference in New Issue
Block a user