From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-02-21 17:04:00


yinglcs2_at_[hidden] wrote:
> I have the following code which copy items if certain
> condition is met:
>
> copy_if(a.begin(), a.end(), back_inserter(b), bind(
> &::feq<float>, _1, max)) );
>
> How can I reverse the logic of that?

Use

    !bind( &::feq<float>, _1, max )