Utopia 2
Framework for studying models of complex & adaptive systems.
Loading...
Searching...
No Matches
Utopia::Utils::is_associative_container< T, typename > 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, typename >:
Inheritance graph
[legend]
Collaboration diagram for Utopia::Utils::is_associative_container< T, typename >:
Collaboration graph
[legend]

Detailed Description

template<typename T, typename = std::void_t<>>
struct Utopia::Utils::is_associative_container< T, typename >

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: