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
-2
u/Ateist Apr 25 '26
I'm upset that this feature introduces another way to "shoot yourself into the foot" for very, very little gain.
Every single C++ programmer has to waste their time learning and debugging the consequences - because novice programmers absolutely will be writing "code that is explicitly permissive of the arity" if you let them.