2.1 KiB
2.1 KiB
[simd.mask.conv]
29 Numerics library [numerics]
29.10 Data-parallel types [simd]
29.10.9 Class template basic_mask [simd.mask.class]
29.10.9.5 basic_mask conversions [simd.mask.conv]
template<class U, class A> constexpr explicit(sizeof(U) != Bytes) operator basic_vec<U, A>() const noexcept;
Constraints: simd-size-v<U, A> == simd-size-v<T, Abi>.
Returns: A data-parallel object where the ith element is initialized tostatic_cast(operator).
constexpr bitset<size()> to_bitset() const noexcept;
Returns: A bitset<size()> object where the ith element is initialized tooperator for all i in the range [0, size()).
constexpr unsigned long long to_ullong() const;
Let N be the width of unsigned long long.
Preconditions:
size() <= N is true, or
for all i in the range [N, size()), operator returns false.
Returns: The integral value corresponding to the bits in *this.
Throws: Nothing.