mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 03:47:16 +02:00
Replace usage of make_void with void_t
This commit is contained in:
@ -81,7 +81,7 @@ namespace boost {
|
|||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
struct is_transparent<T,
|
struct is_transparent<T,
|
||||||
typename boost::unordered::detail::make_void<typename T::is_transparent>::type>
|
boost::unordered::detail::void_t<typename T::is_transparent> >
|
||||||
: public std::true_type
|
: public std::true_type
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
@ -23,7 +23,7 @@ struct hash_is_avalanching_impl: std::false_type{};
|
|||||||
|
|
||||||
template<typename Hash>
|
template<typename Hash>
|
||||||
struct hash_is_avalanching_impl<Hash,
|
struct hash_is_avalanching_impl<Hash,
|
||||||
typename boost::unordered::detail::make_void<typename Hash::is_avalanching>::type>:
|
boost::unordered::detail::void_t<typename Hash::is_avalanching> >:
|
||||||
std::true_type{};
|
std::true_type{};
|
||||||
|
|
||||||
} /* namespace detail */
|
} /* namespace detail */
|
||||||
|
Reference in New Issue
Block a user