On 2012-06-14 12:25, Gor Gyolchanyan wrote: > Yes, that does look bad. How about this? > > void fooBar(T : Foo)(int x) { } I don't like that it's a template function, there's really no reason. It seems to just be a limitation in the syntax. -- /Jacob Carlborg