Boost logo

Boost Users :

From: Roman Neuhauser (neuhauser_at_[hidden])
Date: 2006-07-11 06:19:05


# kneeride_at_[hidden] / 2006-07-11 17:31:23 +1000:
> On 7/11/06, Michael Nicolella <boost_at_[hidden]> wrote:
> > vec.erase( std::remove_if( vec.begin(), vec.end(), some_condition_functor
> >) );
>
> Mike, I do like your remove_if example.
>
> i am not familar with this approach, can you please give me an example of
> defining a some_condition_functor? for example when the value == 5.

    google is full of articles, tutorials and references for the stl.

-- 
please trim unnecessary text, and avoid top posting.
http://www.dtcc.edu/cs/rfc1855.html

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net