diff --git a/include/boost/mp11/algorithm.hpp b/include/boost/mp11/algorithm.hpp index 057331a..dd39fba 100644 --- a/include/boost/mp11/algorithm.hpp +++ b/include/boost/mp11/algorithm.hpp @@ -348,21 +348,21 @@ template using mp_drop = mp_drop_c namespace detail { -template struct mp_from_sequence_impl; +template struct mp_from_sequence_impl; -template class S, class U, U... J, class F> struct mp_from_sequence_impl, F> +template class S, class U, U... J, class F> struct mp_from_sequence_impl, F, false> { using type = mp_list_c; }; -template class S, class U, U... J> struct mp_from_sequence_impl, mp_int<0>> +template class S, class U, U... J, class F> struct mp_from_sequence_impl, F, true> { using type = mp_list_c; }; } // namespace detail -template> using mp_from_sequence = typename detail::mp_from_sequence_impl::type; +template> using mp_from_sequence = typename detail::mp_from_sequence_impl::type; // mp_iota(_c) template using mp_iota_c = mp_from_sequence, mp_size_t>;