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...