Utopia  2
Framework for studying models of complex & adaptive systems.
Utopia::Utils::is_unordered_associative_container< T, std::void_t< std::enable_if_t< is_container_v< T >, int >, typename T::key_type, typename T::value_type, typename T::hasher > > Struct Template Reference

Check if a type T is an unordered associative container type, i.e. a container type T that defines T::key_type, T::value_type and T::hasher. Check out https://en.cppreference.com/w/cpp/named_req/UnorderedAssociativeContainer for more details. More...

#include <type_traits.hh>

Inheritance diagram for Utopia::Utils::is_unordered_associative_container< T, std::void_t< std::enable_if_t< is_container_v< T >, int >, typename T::key_type, typename T::value_type, typename T::hasher > >:
Inheritance graph
[legend]
Collaboration diagram for Utopia::Utils::is_unordered_associative_container< T, std::void_t< std::enable_if_t< is_container_v< T >, int >, typename T::key_type, typename T::value_type, typename T::hasher > >:
Collaboration graph
[legend]

Detailed Description

template<typename T>
struct Utopia::Utils::is_unordered_associative_container< T, std::void_t< std::enable_if_t< is_container_v< T >, int >, typename T::key_type, typename T::value_type, typename T::hasher > >

Check if a type T is an unordered associative container type, i.e. a container type T that defines T::key_type, T::value_type and T::hasher. Check out https://en.cppreference.com/w/cpp/named_req/UnorderedAssociativeContainer for more details.

Template Parameters
Ttype to check.

The documentation for this struct was generated from the following file: