Utopia  2
Framework for studying models of complex & adaptive systems.
Utopia::Utils::get_size< T > Struct Template Reference

Return the size of a Type T containing other types at compile time. If no object for which an overload exists is passed, the get_size::value defaults to 1, indicating a scalar. If you want to have another type to be usable with get_size, provide an overload for it as shown by the various overloads existing for get_size already. More...

#include <type_traits.hh>

Inheritance diagram for Utopia::Utils::get_size< T >:
Inheritance graph
[legend]
Collaboration diagram for Utopia::Utils::get_size< T >:
Collaboration graph
[legend]

Detailed Description

template<typename T>
struct Utopia::Utils::get_size< T >

Return the size of a Type T containing other types at compile time. If no object for which an overload exists is passed, the get_size::value defaults to 1, indicating a scalar. If you want to have another type to be usable with get_size, provide an overload for it as shown by the various overloads existing for get_size already.

Template Parameters
Ttype to get size for

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