mirror of
https://github.com/boostorg/mp11.git
synced 2025-08-07 16:24:32 +02:00
Apply a workaround for msvc-12.0, msvc-14.0
This commit is contained in:
@@ -1176,7 +1176,15 @@ namespace detail
|
|||||||
|
|
||||||
template<template<class...> class F> struct mp_partial_sum_impl_f
|
template<template<class...> class F> struct mp_partial_sum_impl_f
|
||||||
{
|
{
|
||||||
|
#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, <= 1900 )
|
||||||
|
|
||||||
|
template<class V, class T> using fn = mp_list<F<mp_first<V>, T>, mp_push_back<mp_second<V>, F<mp_first<V>, T>> >;
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
template<class V, class T, class N = F<mp_first<V>, T>> using fn = mp_list<N, mp_push_back<mp_second<V>, N>>;
|
template<class V, class T, class N = F<mp_first<V>, T>> using fn = mp_list<N, mp_push_back<mp_second<V>, N>>;
|
||||||
|
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
Reference in New Issue
Block a user