From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-11-02 19:23:53
----- Original Message -----
From: "Kevin S. Van Horn" <kevin.vanhorn_at_[hidden]>
> On Fri, 2 Nov 2001, David Abrahams wrote:
> > In that spirit, I think talking about iterator ranges misses a
> > opportunity for generalization. My half_open_range works with integer
> > as well as iterators. I'm not sure there's anything special about
> > ranges as opposed to ranges of other things.
> Is half_open_range documented somewhere, or is it not officially released?
> I see it in the sources, but I couldn't find a description of it.
Right. I came up against the issue of whether begin() should return a
counting_iterator to the start of the range or simply the start of the range
itself, and stopped because I didn't know how to decide. I now think the
counting_iterator was a mistake. It's easy enough to write
David Abrahams, C++ library designer for hire
C++ Booster (http://www.boost.org)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk