opStar

Sean Kelly sean at f4.ca
Mon Nov 12 09:11:14 PST 2007


Walter Bright wrote:
> Janice Caron wrote:
> 
>> You also haven't addressed the point that since no function, opStar
>> included, can return a reference to a struct, then we are forced to
>> return a pointer to a struct, so now your iterator behaves not like a
>> pointer, but a pointer to a pointer.
> 
> Iterators should be very small value types. I don't see why one would be 
> returning a reference to an iterator.

I thought Janice meant an iterator across a range of structs.


Sean



More information about the Digitalmars-d mailing list