eve::cardinal< Type > Struct Template Reference
Computes the cardinal of a given type. More...
Detailed Description
template<typename Type>
struct eve::cardinal< 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
-
T Type to process
Member types
Name | Definition |
---|---|
type | The cardinal type of T |
Helper types
template<typename Type>
using cardinal_t = typename cardinal<Type>::type;
Helper variable template
template<typenale Type>
inline constexpr auto cardinal_v = cardinal<T>::value;
Inherits eve::scalar_cardinal.
Inherited by eve::cardinal< logical< Type > >.