associative arrays: iteration is finally here

rmcguire rjmcguire at gmail.com
Thu Oct 29 12:26:43 PDT 2009


Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
 
> rmcguire wrote:
>> Wouldn't opIn be more useful if it returned a range starting with
>> the element that was found?
> 
> Thought about that, but it's hard to justify. Items aren't sorted in any 
> particular order, so you'd get pretty much a random bunch of stuff.
> 
> Andrei
> 

Oh, I thought that ranges were going to be applied to network/file IO.

I which case there is plenty of places one might want to jump forward in a 
"range"...

ah but then we're talking AAs.

Well I suppose the Socket class could have opIn return a range.

hehe

Thanks for replying




More information about the Digitalmars-d mailing list