|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2001-03-25 23:35:30
FWIW, I have pretty much come to the conclusion that half_open_range should
not include iteration capability at all. After all, it is /not/ a container,
and it is trivial to generate a counting_iterator for the start and/or end
of a half_open_range.
-Dave
----- Original Message -----
From: "Jeremy Siek" <jsiek_at_[hidden]>
> And here's another crazy thought....
>
> How about we combine the range class used here (with the comparison
> operators) with the integer range class that we've been thinking of
> building on top of counting_iterator. Actually, it will need to be
> counting_iterator adapted with strided_iterator, but that's ok since I
> implemented strided_iterator the other night.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk