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
5
u/tuxwonder Apr 25 '26
First, the snark is really unnecessary.
Second, these new language features are tools for expressing things easily which were difficult to express before, they're not a total replacement for previous ways of expression.
Your example is like putting pizza in a new microwave oven and complaining that the microwave sucks because the pizza's crust isn't crispy anymore. It's not the microwave's fault, you're using the wrong tool for what you want, that doesn't make it a useless, bad tool.