29 Numerics library [numerics]

29.10 Data-parallel types [simd]

29.10.9 Class template basic_mask [simd.mask.class]

29.10.9.6 basic_mask named conversion operators [simd.mask.namedconv]

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.