SyntaxFix
Write A Post
Hire A Developer
Questions
Use std::remove_if algorithm.
std::remove_if
Edit: Work with collections should be like:
Life will be easier if you won't mix this steps.
list::remove_if
TCollection
std::for_each