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
101
Upvotes
r/cpp • u/pavel_v • Apr 24 '26
View all comments
Show parent comment
3
u/_Noreturn Apr 29 '26 edited Apr 29 '26
I definitely need packs in other places to replace those
std::index_sequencetricks and lamdbas which result in slower compilation and uglier to read code.Also if you hate it then simply don't use it. Atleast you will indirectly benefit by the library authors simpldying the code