Useful to recall.
Overview of std::map’s Insertion / Emplacement Methods in C++17
by Walletfox
From the article:
TL;DR Go ahead and try out the C++17 emplacement / insertion methods. They offer a tangible improvement in terms of expressiveness and code safety.
Here are examples of code using them...
Add a Comment
Comments are closed.