Ehsan Akhgari 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>
It probably will, but I noticed too late that the msvc compiler isn't supported for the BLL :( Ah well, I'll just put in my loops again... cheers, roel > > ------------- > Ehsan Akhgari > > Farda Technology (http://www.farda-tech.com/) > > List Owner: [EMAIL PROTECTED] > > [ Email: [EMAIL PROTECTED] ] > [ WWW: http://www.beginthread.com/Ehsan ] > > Physician, heal thyself: then you will also heal your patient. Let it be > his > best cure to see with his eyes the man who heals himself. > -Thus Spoke Zarathustra, F. W. Nietzsche > > > > > _______________________________________________ > 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.
