|
19966 | 19966 |
|
19967 | 19967 | // \ref{simd.mask.unary}, \tcode{basic_mask} unary operators |
19968 | 19968 | constexpr basic_mask operator!() const noexcept; |
19969 | | - constexpr basic_vec<@\exposid{integer-from}@<Bytes>, Abi> operator+() const noexcept; |
19970 | | - constexpr basic_vec<@\exposid{integer-from}@<Bytes>, Abi> operator-() const noexcept; |
19971 | | - constexpr basic_vec<@\exposid{integer-from}@<Bytes>, Abi> operator~() const noexcept; |
| 19969 | + constexpr @\seebelow@ operator+() const noexcept; |
| 19970 | + constexpr @\seebelow@ operator-() const noexcept; |
| 19971 | + constexpr @\seebelow@ operator~() const noexcept; |
19972 | 19972 |
|
19973 | 19973 | // \ref{simd.mask.conv}, \tcode{basic_mask} conversions |
19974 | 19974 | template<class U, class A> |
|
20179 | 20179 | \indexlibrarymember{operator~}{basic_mask} |
20180 | 20180 | \begin{itemdecl} |
20181 | 20181 | constexpr basic_mask operator!() const noexcept; |
20182 | | -constexpr basic_vec<@\exposid{integer-from}@<Bytes>, Abi> operator+() const noexcept; |
20183 | | -constexpr basic_vec<@\exposid{integer-from}@<Bytes>, Abi> operator-() const noexcept; |
20184 | | -constexpr basic_vec<@\exposid{integer-from}@<Bytes>, Abi> operator~() const noexcept; |
| 20182 | +constexpr @\seebelow@ operator+() const noexcept; |
| 20183 | +constexpr @\seebelow@ operator-() const noexcept; |
| 20184 | +constexpr @\seebelow@ operator~() const noexcept; |
20185 | 20185 | \end{itemdecl} |
20186 | 20186 |
|
20187 | 20187 | \begin{itemdescr} |
|
20193 | 20193 | A data-parallel object where the $i^\text{th}$ element is initialized to the |
20194 | 20194 | results of applying \placeholder{op} to \tcode{operator[]($i$)} for all $i$ in |
20195 | 20195 | the range of \range{0}{size()}. |
| 20196 | + |
| 20197 | +\pnum |
| 20198 | +\remarks |
| 20199 | +If there exists a vectorizable signed integer type \tcode{I} such that |
| 20200 | +\tcode{sizeof(I) == Bytes} is \tcode{true}, |
| 20201 | +\tcode{operator+}, \tcode{operator-}, and \tcode{operator~} |
| 20202 | +return an enabled specialization \tcode{R} of \tcode{basic_vec} such that |
| 20203 | +\tcode{R::value_type} denotes \tcode{\exposid{integer-from}<Bytes>} and |
| 20204 | +\tcode{R::size() == size()} is \tcode{true}. |
| 20205 | +Otherwise, |
| 20206 | +these operators are defined as deleted and their return types are unspecified. |
20196 | 20207 | \end{itemdescr} |
20197 | 20208 |
|
20198 | 20209 | \rSec3[simd.mask.conv]{Conversions} |
|
0 commit comments