Boost logo

Boost :

From: Anthony Williams (anthwil_at_[hidden])
Date: 2002-09-12 08:06:00


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?

Anthony


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