◆ cardinal()

template<typename T >
cardinal_of_t<T> boost::simd::cardinal ( T &&  v)
noexcept

Computes the register size of any given value v.

Semantic:

For any instance v of type T,

auto r = cardinal(v)

is equivalent to:

auto r = cardinal_of<T>::type{};
Parameters
vValue which register size is to be computed
Returns
An Integral Constant containing v register size.
See also
boost::simd::cardinal_of