E.V.E
v2022.03.00
eve::cardinal< Type > Struct Template Reference

Computes the cardinal of a given type. More...

#include <eve/traits/cardinal.hpp>

Detailed Description

template<typename Type>
struct eve::cardinal< Type >

Computes the cardinal of a given type.

Required header: #include <eve/traits/cardinal.hpp>

For a given type T, computes the type of its cardinal.

Template Parameters
TType to process

Member types

Name Definition
type The cardinal type of T


Helper types

template<typename Type>
using cardinal_t = typename cardinal<Type>::type;
Cardinal type for scalar values.
Definition: cardinals.hpp:59

Helper variable template

template<typename Type>
inline constexpr auto cardinal_v = cardinal<Type>::value;
Computes the cardinal of a given type.
Definition: cardinal.hpp:55