Title
`datapar::resize` does not resize
Status
new
Section
[simd.traits]
Submitter
Tim Song

Created on 2025-03-24.00:00:00 last changed 1 week ago

Messages

Date: 2025-03-27.17:02:59

Proposed resolution:

This wording is relative to N5008.

  1. Modify [simd.traits] as indicated:

    template<simd-size-type N, class V> struct resize { using type = see below; };
    

    […]

    -9- If `V` is a specialization of `basic_simd`, let `Abi1` denote an ABI tag such that basic_simd<T, Abi1>::size() equals V::size()N. If `V` is a specialization of `basic_simd_mask`, let `Abi1` denote an ABI tag such that basic_simd_mask<sizeof(T), Abi1>::size() equals V::size()N.

Date: 2025-03-24.00:00:00

The wording actually requires the size to be left unchanged.

History
Date User Action Args
2025-03-27 17:02:59adminsetmessages: + msg14702
2025-03-24 00:00:00admincreate