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.

4412. Fix declaration of zero_element and uninit_element

Section: 29.10.3 [simd.syn] Status: Tentatively Ready Submitter: Jonathan Wakely Opened: 2025-10-17 Last modified: 2025-10-22

Priority: Not Prioritized

View all other issues in [simd.syn].

View all issues with Tentatively Ready status.

Discussion:

Addresses US-174-282

zero_element and uninit_element should be inline and not static

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

  1. Modify 29.10.3 [simd.syn] as indicated:

    // 29.10.8.7, permute by static index generator
    inline static constexpr simd-size-type zero_element = implementation-defined;
    inline static constexpr simd-size-type uninit_element = implementation-defined;