r/cpp • • Apr 16 '26

C++26: Structured bindings in conditions

https://www.sandordargo.com/blog/2026/04/15/cpp26-structured-bindings-condition
59 Upvotes

27 comments sorted by

View all comments

Show parent comment

0

u/programgamer Apr 16 '26

This kind of construct is used in several other programming languages and I’ve only ever seen it lauded as both more intuitive and more terse. Are you super sure you don’t just need to sit with it for a while?