Maybe, argument deduction? template Foo(T: T[U], U) { ... }
Foo!(int[long]) // instantiates Foo with T set to int, U set to long
Kagamin via Digitalmars-d-learn Thu, 23 Oct 2014 04:26:16 -0700
Maybe, argument deduction? template Foo(T: T[U], U) { ... }
Foo!(int[long]) // instantiates Foo with T set to int, U set to long