> And to use Boost.Lambda to reduce everything to one line, you will use:
>
> vec.erase( remove_if( vec.begin(), vec.end(), *_1 < 5 ) );
>
> <disclaimer>Code not tested; but I bet it works!</disclaimer>
<humour> Goodness... just when I thought programmers were starting to evolve
into a higher species by using C++ instead of C, now we regress to that
stupid try-to-get-everything-on-one-frigging-line period of our history {;v)
</humour>
--
Jason Teagle
[EMAIL PROTECTED]
_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription
changes, and list archive.