Boost logo

Boost Users :

From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2005-12-07 00:15:14


At 12:04 2005-12-06, you wrote:
>"Victor A. Wagner Jr." <vawjr_at_[hidden]> writes:
>
> > At 14:16 2005-12-05, François Duranleau wrote:
> >>Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
> >>X-MIME-Autoconverted: from 8bit to
> >>quoted-printable by milliways.osl.iu.edu id jB5LNecL002899
> >>
> >>On Sat, 3 Dec 2005, Victor A. Wagner Jr. wrote:
> >>
> >>>After reading (and re-reading a few times) the documentation on
> >>>range, it appears to me that there is little (if any) difference between:
> >>>boost::sub_range<T>
> >>>and
> >>>boost::iterator_range<T::iterator>
> >>
> >>Seems to me that sub_range is a convenience class to describe
> >>iterator ranges from ranges or containers that model ForwardRange,
> >>from which you can propagate constness.
> >
> > yup, that's what I thought also
>
>So what's the distinction? The constness of a subrange affects the
>constness of its iterators? or...?
>
>Having two such beasts in Boost seems on the surface like a clear case
>of brokenness.

I don't know, my problem, though, is that I cannot get it to compile

>--
>Dave Abrahams
>Boost Consulting
>www.boost-consulting.com
>
>_______________________________________________
>Boost-users mailing list
>Boost-users_at_[hidden]
>http://lists.boost.org/mailman/listinfo.cgi/boost-users

Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
               "There oughta be a law"


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net