Add deduction guides

This commit is contained in:
Christian Mazakas
2023-05-17 09:38:29 -07:00
parent fcf6fee0f6
commit bf06fa97e3
6 changed files with 106 additions and 36 deletions
-12
View File
@@ -1061,18 +1061,6 @@ namespace boost {
#if BOOST_UNORDERED_TEMPLATE_DEDUCTION_GUIDES
namespace detail {
template <typename T>
using iter_key_t =
typename std::iterator_traits<T>::value_type::first_type;
template <typename T>
using iter_val_t =
typename std::iterator_traits<T>::value_type::second_type;
template <typename T>
using iter_to_alloc_t =
typename std::pair<iter_key_t<T> const, iter_val_t<T> >;
} // namespace detail
template <class InputIterator,
class Hash =
boost::hash<boost::unordered::detail::iter_key_t<InputIterator> >,