Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-09-12 08:21:01


From: "Anthony Williams" <anthwil_at_[hidden]>

> David Abrahams writes:
> > It would probably be easy to derive your Policies from the generator
> > adaptor policies.
>
> I contemplated that, but it requires that the Generator class be
callable,
> which isn't going to be the case for the upper bound; to avoid this, the
> policy class is sufficiently different to warrant being unrelated.
>
> Do you think it is a sufficiently common case to be worth adding to the
> iterator adaptors library alongside generator_iterator?

Sure, sounds good.

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com


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