Title
Unused/left-over `simd::alignment` specialization for `basic_mask`
Status
wp
Section
[simd.traits]
Submitter
Matthias Kretz

Created on 2025-10-15.00:00:00 last changed 1 month ago

Messages

Date: 2025-11-11.10:48:16

Proposed resolution:

This wording is relative to N5014.

  1. Modify [simd.syn] as indicated:

    template<class T, class U = typename T::value_type> struct alignment { see below };
    

    -1- alignment<T, U> has a member `value` if and only if

    1. (1.1) — `T` is a specialization of `basic_mask` and `U` is `bool`, or

    2. (1.2) — `T` is a specialization of `basic_vec` and `U` is a vectorizable type.

Date: 2025-11-11.10:48:16

[ Kona 2025-11-08; Status changed: Voting → WP. ]

Date: 2025-10-15.00:00:00

[ 2025-10-22; Reflector poll. ]

Set status to Tentatively Ready after seven votes in favour during reflector poll.

Date: 2025-10-15.00:00:00

[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.

History
Date User Action Args
2025-11-11 10:48:16adminsetmessages: + msg15655
2025-11-11 10:48:16adminsetstatus: voting -> wp
2025-10-30 17:45:31adminsetstatus: ready -> voting
2025-10-22 12:32:36adminsetmessages: + msg15342
2025-10-22 12:32:36adminsetstatus: new -> ready
2025-10-18 15:56:51adminsetmessages: + msg15248
2025-10-15 00:00:00admincreate