Arrow to the Knee: Editing unordered_multiset items
Have you ever thought of editing
std::unordered_multiset items while iterating over it? Does it even make sense? In this post I will tell you why and how I tried to do it and what happened to my code afterwards.