1
0
forked from boostorg/mp11

VC++2017 still needs the workarounds.

This commit is contained in:
Peter Dimov
2017-03-14 00:35:19 +02:00
parent f476548d85
commit 586392ca51
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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>;