[Issue 14108] template object.get cannot deduce function from argument types

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Feb 5 22:26:14 PST 2015


https://issues.dlang.org/show_bug.cgi?id=14108

--- Comment #4 from Timothee Cour <timothee.cour2 at gmail.com> ---
But the argument $key to aa.get(key) doesn't need to be stored, it's just used
to retrieve the value with that key if it's there (eg by computing a hash
function on the key, which doesn't need key to be immutable). Am I
misunderstanding something?

--


More information about the Digitalmars-d-bugs mailing list