Utopia  2
Framework for studying models of complex & adaptive systems.
Utopia::Utils::is_container< T, std::void_t< std::enable_if_t< is_iterable_v< remove_qualifier_t< T > > and not is_string_v< remove_qualifier_t< T > >, int > > > Struct Template Reference

Check if a type T is a container type. A container for us is every iterable that is not a string. More...

#include <type_traits.hh>

Inheritance diagram for Utopia::Utils::is_container< T, std::void_t< std::enable_if_t< is_iterable_v< remove_qualifier_t< T > > and not is_string_v< remove_qualifier_t< T > >, int > > >:
Inheritance graph
[legend]
Collaboration diagram for Utopia::Utils::is_container< T, std::void_t< std::enable_if_t< is_iterable_v< remove_qualifier_t< T > > and not is_string_v< remove_qualifier_t< T > >, int > > >:
Collaboration graph
[legend]

Detailed Description

template<typename T>
struct Utopia::Utils::is_container< T, std::void_t< std::enable_if_t< is_iterable_v< remove_qualifier_t< T > > and not is_string_v< remove_qualifier_t< T > >, int > > >

Check if a type T is a container type. A container for us is every iterable that is not a string.

Template Parameters
Ttype to check

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