Are iterators and ranges going to co-exist?
Joaquin M Lopez Munoz
joaquin at tid.es
Wed Jul 21 10:53:01 PDT 2010
== Quote from Andrei Alexandrescu (SeeWebsiteForEmail at erdani.org)'s article
> On 07/19/2010 04:24 PM, Peter Alexander wrote:
> > On 19/07/10 9:47 PM, Andrei Alexandrescu wrote:
> >>
> >> The plan is to use ranges everywhere. Sorry to disappoint. If you can
> >> find solid arguments for introducing iterators, of course it would be
> >> great if you discussed them in this group.
> >
> > Well, you mentioned a few yourself in your article.
> >
> > - With ranges, you double the size of "iterators", which increases the
> > memory usage of something like Boost.MultiIndex.
>
> Agreed.
I'd like to state that Boost.MultiIndex internal implementation is *not*
based on iterators, so the whole discussion iterators vs. ranges does
not impact Boost.MultiIndex memory usage in any manner.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
More information about the Digitalmars-d
mailing list