|
Boost Users : |
From: Scott Meyers (usenet_at_[hidden])
Date: 2007-03-29 14:49:32
David Abrahams wrote:
> Yeah, why struggle? This problem looks tailor-made for filter_view.
Skipping over the struggling comment (it's not like I'm deliberately choosing
it), what makes filter_view a better choice? With both implementations, doesn't
eraseVal::type yield a new sequence?
If filter_view<Seq, Pred> is always better than copy_if<Seq, Pred>, why do we
need both?
Scott
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net