News for hackers. Stuff that matters.
Re:Multiple assignment and tuple unpacking improve Python co... by shadedtriangle on Sunday May 08, 2022 @12:28PM (#31305514)
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.
Re:Multiple assignment and tuple unpacking improve Python co... by quibono on Sunday May 08, 2022 @01:13PM (#31305957)
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.