This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Tentatively Ready status.
simd::alignment specialization for basic_maskSection: 29.10.4 [simd.traits] Status: Tentatively Ready Submitter: Matthias Kretz Opened: 2025-10-15 Last modified: 2025-10-22
Priority: Not Prioritized
View all other issues in [simd.traits].
View all issues with Tentatively Ready status.
Discussion:
29.10.4 [simd.traits] describes a value member for
simd::alignment<basic_mask<…>, bool>.
This was used for loads and stores for masks from/to arrays of bool.
However, these load/store functions were removed after bitset/unsigned_integral
conversions were introduced. This left-over TS wording should be removed.
[2025-10-22; Reflector poll.]
Set status to Tentatively Ready after seven votes in favour during reflector poll.
Proposed resolution:
This wording is relative to N5014.
Modify 29.10.3 [simd.syn] as indicated:
template<class T, class U = typename T::value_type> struct alignment { see below };-1-
alignment<T, U>has a membervalueif and only if
(1.1) —Tis a specialization ofbasic_maskandUisbool, or
(1.2) —Tis a specialization ofbasic_vecandUis a vectorizable type.