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
100
Upvotes
r/cpp • u/pavel_v • Apr 24 '26
View all comments
Show parent comment
9
u/Gorzoid Apr 24 '26
What would you even expect the behavior to be in that case. It can't behavior like a parameter pack since the length would be non static. Are you effectively asking for runtime evaluation of fold expressions 🤨