Am I getting this all right?
kb3ctd2 at yahoo.com
Thu Dec 14 17:53:37 PST 2006
"Bill Baxter" <dnewsgroup at billbaxter.com> wrote in message
news:elsv06$r2e$1 at digitaldaemon.com...
> Hmm. Ok, so you really do want to use foreach(...; set) if at all
> Sure would be nice if there were a .keyiter that could be used with
> foreach that was efficient and didn't require allocations.
Meh, I don't think the
foreach(key, ____; set)
Is that bad. Maybe it's a little unclear, but as far as efficiency goes,
it's just passing the extra unused value parameter.
> Too bad the iterator discussions fizzled out without anything getting
Yeah. We didn't start a three-week four-hundred-post thread about it, so I
guess Walter didn't consider it important.
More information about the Digitalmars-d-learn