|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-09-09 07:47:04
From: "Anthony Williams" <anthwil_at_[hidden]>
> OK, my real question is: is there a pre-defined iterator adaptor for
doing
> this, as the generator adaptor doesn't allow for a stop condition?
AFAIK, no there is not.
> If there is, I'll use it. If there isn't (and it didn't appear to me that
> there was), then I'll have to write my own Policies. Not a biggy, but I
don't
> want to duplicate effort if I don't have to.
It would probably be easy to derive your Policies from the generator
adaptor policies.
-----------------------------------------------------------
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