class Abc(T) : Def { T t; }
template Foo(T, V:int) { struct Bar { int[V] a; } void func(T t) { ... } enum E { e = V } }
Abc!(int) a; Foo!(char, 3).Bar b; alias Foo!(long, 5) F; ... F.func(6);