|
20036 | 20036 | constexpr explicit basic_mask(const basic_mask<UBytes, UAbi>&) noexcept; |
20037 | 20037 | template<class G> |
20038 | 20038 | constexpr explicit basic_mask(G&& gen); |
20039 | | - constexpr basic_mask(const bitset<size()>& b) noexcept; |
20040 | | - constexpr explicit basic_mask(@\libconcept{unsigned_integral}@ auto val) noexcept; |
| 20039 | + template<@\libconcept{same_as}@<bitset<size()>> T> |
| 20040 | + constexpr basic_mask(const T& b) noexcept; |
| 20041 | + template<@\libconcept{unsigned_integral}@ T> |
| 20042 | + requires (!@\libconcept{same_as}@<T, value_type>) |
| 20043 | + constexpr explicit basic_mask(T val) noexcept; |
20041 | 20044 |
|
20042 | 20045 | // \ref{simd.mask.subscr}, \tcode{basic_mask} subscript operators |
20043 | 20046 | constexpr value_type operator[](@\exposid{simd-size-type}@) const; |
|
20141 | 20144 |
|
20142 | 20145 | \indexlibraryctor{basic_mask} |
20143 | 20146 | \begin{itemdecl} |
20144 | | -constexpr explicit basic_mask(value_type x) noexcept; |
| 20147 | +constexpr explicit basic_mask(@\libconcept{same_as}@<value_type> auto) noexcept; |
20145 | 20148 | \end{itemdecl} |
20146 | 20149 |
|
20147 | 20150 | \begin{itemdescr} |
|
20193 | 20196 |
|
20194 | 20197 | \indexlibraryctor{basic_mask} |
20195 | 20198 | \begin{itemdecl} |
20196 | | -constexpr basic_mask(const bitset<size()>& b) noexcept; |
| 20199 | +template<@\libconcept{same_as}@<bitset<size()>> T> |
| 20200 | + constexpr basic_mask(const T& b) noexcept; |
20197 | 20201 | \end{itemdecl} |
20198 | 20202 |
|
20199 | 20203 | \begin{itemdescr} |
|
20205 | 20209 |
|
20206 | 20210 | \indexlibraryctor{basic_mask} |
20207 | 20211 | \begin{itemdecl} |
20208 | | -constexpr explicit basic_mask(@\libconcept{unsigned_integral}@ auto val) noexcept; |
| 20212 | +template<@\libconcept{unsigned_integral}@ T> |
| 20213 | + requires (!@\libconcept{same_as}@<T, value_type>) |
| 20214 | + constexpr explicit basic_mask(T val) noexcept; |
20209 | 20215 | \end{itemdecl} |
20210 | 20216 |
|
20211 | 20217 | \begin{itemdescr} |
|
0 commit comments