diff --git a/include/boost/unordered/detail/implementation.hpp b/include/boost/unordered/detail/implementation.hpp index 544c2d3e..1f8c0cea 100644 --- a/include/boost/unordered/detail/implementation.hpp +++ b/include/boost/unordered/detail/implementation.hpp @@ -1070,13 +1070,6 @@ namespace boost { boost::get(tuple)...); } - template - boost::mp11::index_sequence_for make_index_seq( - boost::mp11::mp_list) - { - return boost::mp11::index_sequence_for{}; - } - template using add_lvalue_reference_t = typename std::add_lvalue_reference::type; @@ -1089,8 +1082,10 @@ namespace boost { { using list = boost::mp11::mp_remove, boost::tuples::null_type>; + using list_size = boost::mp11::mp_size; + using index_seq = boost::mp11::make_index_sequence; - return to_std_tuple_impl(list{}, tuple, make_index_seq(list{})); + return to_std_tuple_impl(list{}, tuple, index_seq{}); } template