bearophile Wrote: > In D2 you can't define templates inside functions. > > Bye, > bearophile Thanks, But this example works: void main() { T input(T)() {} } Why ?