4 ms·
All Major C++17 Features You Should Know
- ricardou 4y agoOne I didn't see here which has been a pleasure to use lately: https://en.cppreference.com/w/cpp/container/map/extract https://en.cppreference.com/w/cpp/container/map/extract Used to update map keys without reallocation.
- reassembled 4y agoThank you! I do this kind of operation a lot and had no idea this new method existed in C++17.
- arinlen 4y agoOne thing that I miss in C++ is a bit more clarity on how copy elision and NRVO kick in. To me it feels a bit hand-wavy. This article makes a good point in showcasing clear examples.