On 08.01.2012 11:09, Manfred Nowak wrote:
simendsjo wrote:

Wouldn't it make sense to return a pointer to the item being
removed/null?

According to the docs this is the intended behavior.

-manfred

The only mention I can see of remove is at the top, and it doesn't state return value: http://dlang.org/hash-map.html

The pull changes the return value to bool: https://github.com/9rnsr/dmd/commit/f3cc75445775927e2036054811afb686cf4f1624


Reply via email to