r/cpp • u/pavel_v • Apr 24 '26
C++26: Structured Bindings can introduce a Pack
https://www.sandordargo.com/blog/2026/04/22/cpp26-structured-bindings-packs
102
Upvotes
r/cpp • u/pavel_v • Apr 24 '26
View all comments
Show parent comment
4
u/slithering3897 Apr 24 '26
Vectors from reflection maybe.
std::define_static_arraywould almost get you there, but the span is not statically sized.