difference between erase and remove/remove_if algorithms?

Posted by Eric on Stack Overflow See other posts from Stack Overflow or by Eric
Published on 2010-06-13T10:48:52Z Indexed on 2010/06/13 10:52 UTC
Read the original article Hit count: 130

Filed under:
|
|
|

What is really the difference between the algorithms remove and remove_if and the member function erase? Does both of them result in a call to the removed objects destructor?

© Stack Overflow or respective owner

Related posts about c++

Related posts about algorithm