class VeryLongName { public: void f(); ... }; class A: public VeryLongName { ... }; typedef VeryLongName VLN; void g(A *ap) { ap->VLN::f(); }