associative arrays
Andrej Mitrovic
andrej.mitrovich at gmail.com
Sun Jan 8 02:34:57 PST 2012
On 1/8/12, simendsjo <simendsjo at gmail.com> wrote:
> Wouldn't it make sense to return a pointer to the item being
> removed/null?
Seems like that would be even more costly. Personally I think
returning bool is unnecessary, if we really want to know if something
is in the hash we can check with the `in` operator.
I filed that bug ages ago simply because it was in TDPL, but I didn't
really give it much thought.
More information about the Digitalmars-d-learn
mailing list