Change representation of dynamic arrays?

Walter Bright newshound1 at digitalmars.com
Fri Oct 19 23:27:29 PDT 2007


Chris Miller wrote:
> I wonder what kind of iterators you have in mind. Why couldn't the 
> iterators just hold start and end pointers? It would only need to be 
> calculated when creating an iterator from a non-iterator. Or perhaps you 
> want a slice to be an iterator itself, so you could just do slice++ and 
> it slices out the first element.

I think you answered it!



More information about the Digitalmars-d mailing list