Great series. These lectures are not only informative but the energy you show really has me delving into the STL. Being as though this is very new to me I have a request. In your example above (part of homework part 2) could you add/supply an example of how to use the erase_if for an associative container (preferably map). Having difficulty getting the predicate correct.