kumi v3.1.0
Exquisite Epidote
 
Loading...
Searching...
No Matches
kumi::is_static_container< T > Struct Template Reference

Traits detecting types behaving like a kumi::static_container. More...

#include <kumi/utils/traits.hpp>

Detailed Description

template<typename T>
struct kumi::is_static_container< T >

Traits detecting types behaving like a kumi::static_container.

To be treated like a static_container, a user defined type must expose a type and a statically know size encoded in the type. It shall also provide general container utilities.

Note
The type shall be templated on the type and the size to be picked up.

Helper value

template<typename T> inline constexpr auto is_static_container = is_static_container<T>::value;
Traits detecting types behaving like a kumi::static_container.
Definition traits.hpp:220

Example: