Paul Grenyer wrote: > > 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> > Lol! Inflicting boost.lambda on someone who didn't know what vector was > a week ago? You are cruel! (No offence intended to original poster).
No I've known about vector for a long time, I sneaked an unrelated question into the thread so that's probably where the confusion comes from ;) cheers, roel > > Regards > Paul > > Paul Grenyer > Email: [EMAIL PROTECTED] > Web: http://www.paulgrenyer.co.uk > > Have you met Aeryn: http://www.paulgrenyer.co.uk/aeryn/? > Version 0.3.0 beta now available for download. > > > > _______________________________________________ > msvc mailing list > [EMAIL PROTECTED] > See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for > subscription changes, and list archive. > _______________________________________________ msvc mailing list [EMAIL PROTECTED] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
