If it doesn't work, hack it: struct S { static void func(T)(uint a, T t) { } static void func1() { } alias func=func1; }