|
Boost : |
From: Dave Abrahams (abrahams_at_[hidden])
Date: 2001-01-09 17:22:25
--- In boost_at_[hidden], Howard Hinnant <hinnant_at_t...> wrote:
> std::remove_copy_if is very close. It copies if p(e) is false.
> I must admit that will all the double negatives flying around in
> remove_copy_if, copy_if seems a lot more readable.
>
> -Howard
Sheesh! Totally /not/ what I expected remove_copy_if to mean. I took
it to mean that items were both removed from the input sequence and
copied if they satisfied the predicate.
Thanks for all the pointers, everyone.
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk