This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of New status.
datapar::resize
does not resizeSection: 29.10.4 [simd.traits] Status: New Submitter: Tim Song Opened: 2025-03-24 Last modified: 2025-03-27
Priority: Not Prioritized
View all issues with New status.
Discussion:
The wording actually requires the size to be left unchanged.
Proposed resolution:
This wording is relative to N5008.
Modify 29.10.4 [simd.traits] as indicated:
template<simd-size-type N, class V> struct resize { using type = see below; };[…]
-9- IfV
is a specialization ofbasic_simd
, letAbi1
denote an ABI tag such thatbasic_simd<T, Abi1>::size()
equals. If
V::size()NV
is a specialization ofbasic_simd_mask
, letAbi1
denote an ABI tag such thatbasic_simd_mask<sizeof(T), Abi1>::size()
equals.
V::size()N