eve::fundamental_cardinal< Type, ABI > Struct Template Reference
Computes the fundamental cardinal of a given type. More...
Detailed Description
template<typename Type, regular_abi ABI = ::eve::emulated_>
struct eve::fundamental_cardinal< Type, ABI >
struct eve::fundamental_cardinal< Type, ABI >
Computes the fundamental cardinal of a given type.
Required header: #include <eve/arch/fundamental_cardinal.hpp>
eve::fundamental_cardinal computed the cardinal of the smallest register able to store values of type Type
for a given SIMD ABI
with no uninitialized lanes.
- Template Parameters
-
Type Type of value to assess ABI SIMD ABI to use as reference. Must models eve::regular_abi.
Member types
Name | Definition |
---|---|
type | The type of cardinal computed for Type |
Helper types
template<typename Type, regular_abi ABI = EVE_CURRENT_ABI>
using fundamental_cardinal_t = typename fundamental_cardinal<Type, ABI>::type;
Helper variable template
template<typename Type, regular_abi ABI = EVE_CURRENT_ABI>
inline constexpr auto fundamental_cardinal_v = fundamental_cardinal_t<Type, ABI>::value;
// Cardinal template inline variable to use with functions like eve::load
template<typename Type, typename ABI = EVE_CURRENT_ABI>
inline constexpr fundamental_cardinal<Type,ABI> const fundamental = {};
Inherits eve::fixed< ABI::template fundamental_cardinal< Type > >.