struct X { void f(); }; template struct S : public T { using X::f; };