Use std::remove_if algorithm.
Edit:
Work with collections should be like:
1. prepare collection.
2. process collection.
Life will be easier if you won't mix this steps.
- std::remove_if. or list::remove_if ( if you know that you work with list and not with the TCollection )
- std::for_each