mikeb@coho.ee.ubc.ca (Mike Bolotski) (11/15/89)
So how does one make individual member functions of classes derived as private visible? For example, how can operators new and delete be passed on in the previous example? class Alpha { int x; public: Alpha(int); void *operator new(long size); void operator delete (void* p); }; class Beta: private Alpha { int y; public: Beta(int); Alpha::operator new; Alpha::operator delete; }; --- This produces a syntax error. But the intent should be clear. Mike. main() { } Mike Bolotski, Department of Electrical Engineering, University of British Columbia, Vancouver, Canada mikeb@ee.ubc.ca | mikeb%ee.ubc.ca@relay.ubc.ca ee.ubc.ca!mikeb@uunet.uu.net | uunet!ubc-cs!ee.ubc.ca!mikeb