I want to make a mixin for a private function. -------------------------------------------------------------------------- template m(T){ private void func(){} } class C{ mixin m!(byte) m1; public this(){ func(); // error: func is private } } -------------------------------------------------------------------------- Is this possible ?