query: Erase-remove idiom with std::set failing with constness-related error
positive_passages.docid: 16063
positive_passages.text: Deleting elements from std::set while iterating
negative_passages.docid: 43929
negative_passages.text: What happens if you call erase() on a map element while iterating from begin to end?
negative_passages.docid: 81367
negative_passages.text: Removing item from vector, while in C++11 range 'for' loop?
negative_passages.docid: 120584
negative_passages.text: Pointers in c++ after delete
negative_passages.docid: 83668
negative_passages.text: How to remove duplicates from unsorted std::vector while keeping the original ordering using algorithms?
negative_passages.docid: 93385
negative_passages.text: Can const-correctness improve performance?
negative_passages.docid: 68736
negative_passages.text: How do I erase an element from std::vector by index?
negative_passages.docid: 24431
negative_passages.text: Erasing elements from a vector
negative_passages.docid: 119230
negative_passages.text: How to use lambda to erase empty vector cells?
negative_passages.docid: 87005
negative_passages.text: Why must the copy assignment operator return a reference/const reference?
negative_passages.docid: 122225
negative_passages.text: Why doesn't vector::clear remove elements from a vector?
negative_passages.docid: 83845
negative_passages.text: How can I take a single element out of a boost library (e.g. shared_pointer)?
negative_passages.docid: 125985
negative_passages.text: Why does this const member function allow a member variable to be modified?
negative_passages.docid: 979
negative_passages.text: DeleteDuplicates[] does not work as expected on floating point values
negative_passages.docid: 58735
negative_passages.text: How to concatenate a std::string and an int?
negative_passages.docid: 4160
negative_passages.text: How do I use a custom deleter with a std::unique_ptr member?
negative_passages.docid: 92052
negative_passages.text: Why can't we delete an initialized pointer?