Get AA key and value type

NX via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Sep 20 01:37:27 PDT 2015


On Saturday, 19 September 2015 at 18:13:09 UTC, Marc Schütz wrote:
> You can also do it with built-in syntax:
>
> template AATypes(AA : K[V], K, V)
> {
>     alias Key = K;
>     alias Value = V;
> }

K[V] supposed to be V[K] btw...


More information about the Digitalmars-d-learn mailing list