P3440R3 — Add n_elements named constructor to std::simd
Daniel Towner
LEWG
Revisions R3Apr 2026R2Feb 2026
When iterating over large dynamic data sets using `std::simd` there will inevitably be situations where the very last block of data doesn’t fill the entire `std::simd` object. This remainder needs to be processed using a partially filled `std::simd` object. For example: