Files
cppdraft_translate/cppdraft/simd/mask/unary.md
2025-10-25 03:02:53 +03:00

1.0 KiB

[simd.mask.unary]

29 Numerics library [numerics]

29.10 Data-parallel types [simd]

29.10.9 Class template basic_mask [simd.mask.class]

29.10.9.4 basic_mask unary operators [simd.mask.unary]

🔗

constexpr basic_mask operator!() const noexcept; constexpr basic_vec<integer-from<Bytes>, Abi> operator+() const noexcept; constexpr basic_vec<integer-from<Bytes>, Abi> operator-() const noexcept; constexpr basic_vec<integer-from<Bytes>, Abi> operator~() const noexcept;

1

#

Let op be the operator.

2

#

Returns: A data-parallel object where the ith element is initialized to the results of applying op to operator for all i in the range of [0, size()).