Boost logo

Boost :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2004-12-01 10:03:27


"troy d. straszheim" <troy_at_[hidden]> wrote in message
news:16813.55259.158027.969146_at_resophonic.com...
>
> Hi boost,
>
> The filter_iterator as implemented disallows creating iterators via
> reference-to-base, as it requires its Predicate objects to be
> copy-constructible. This is a problem for a class that is passed a

I haven't tried it but wouldn't boost::ref(predicate) accomplish your goal?

Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk