Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
shadedtriangle
· 4y ago · 0 comments
This is probably my most used C++17 feature too:
for (auto& [key, value] : persons)
The nested bindings are neat. Don’t think you can do that in c++ yet.
Comments
[–]
quibono
4y ago
For me it's these little things that make working with newer C++ standards so much easier. Always felt like iterating over anything was cumbersome. No longer the case.