News for hackers. Stuff that matters.
Re:C++17 Library Papers for Cologne by TillE on Saturday February 14, 2015 @12:44PM (#9050184)
erase_if sounds like a method I'd be happy to have in many languages, where containers aren't safe to modify as you're iterating over them.
Re:C++17 Library Papers for Cologne by StephanTLavavej on Saturday February 14, 2015 @01:11PM (#9050267)
My erase_if proposal was accepted for the Library Fundamentals v2 Technical Specification and is therefore likely to get into C++17.
Re:C++17 Library Papers for Cologne by jgh on Saturday February 14, 2015 @12:57PM (#9050216)
That's definitely a nice addition. I also like the map::try_emplace and map::insert_or_assign suggestions.