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

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

#include <type_traits.hh>

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

Detailed Description

template<typename T>
struct Utopia::Utils::is_associative_container< T, std::void_t< std::enable_if_t< is_container_v< T >, int >, typename T::key_type, typename T::key_compare > >

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

Template Parameters
Ttype to check.

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