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 element is initialized to static_cast<U>(operator[](i)).
constexpr bitset<size()> to_bitset() const noexcept;
Returns: A bitset<size()> object where the element is initialized to operator[](i) 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[](i) returns false.
Returns: The integral value corresponding to the bits in *this.
Throws: Nothing.