Please tell me if there is a way to manually implement the Microsoft specific __super macro…
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Though I assume that’s not what you want and you want a generic access for every class? I don’t know of a direct solution, but you can always
typedefyour immediate base class:Or even have an intermediate class just for the typedef if you really want..
Note that you should not forget to retypedef in every derived class, else you’ll get holes in your call-chain.
One drawback: The whole construct blows up with multiple base classes. :/