r/cpp • u/pavel_v • Apr 16 '26
C++26: Structured bindings in conditions
https://www.sandordargo.com/blog/2026/04/15/cpp26-structured-bindings-condition
61
Upvotes
r/cpp • u/pavel_v • Apr 16 '26
View all comments
2
u/looneysquash Apr 16 '26
I haven't haven't gotten around to using that feature yet. (I am not writing C++ for work these days.)
But reading the docs, and as someone who uses Typescript daily, I was shocked that it only seems to support by order and not by name.