3 ms·
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.
by shadedtriangle 4y ago
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.
- quibono 4y agoFor 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.