$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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