Automatic Inference for Both Key and Value Types of an Associative Array
Daniel Murphy via Digitalmars-d
digitalmars-d at puremagic.com
Thu Aug 7 10:37:58 PDT 2014
"Meta" wrote in message news:ohzzgcslkthrozimfiwd at forum.dlang.org...
> Something H.S. Teoh in a recent pull request in Github got me thinking
> that it would be useful in some cases to tell the compiler that you want
> to automatically infer the either the key type or value type of an AA.
> Something like the following:
How often do you actually want to do this? At best it's a bunch of weird
partial type special cases in the compiler.
More information about the Digitalmars-d
mailing list