Are iterators and ranges going to co-exist?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Jul 21 11:00:10 PDT 2010


Joaquin M Lopez Munoz wrote:
> == 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

Welcome, Joaquín! Good to see you here. Could you please provide a bit 
more detail? Does Boost.MultiIndex use pointers? Thanks!

Andrei


More information about the Digitalmars-d mailing list