Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Issues with multiple inheritance
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Adrian Hawryluk, post: 2771711"] Obviously? No, it inherited those methods (assuming that they are virtual). It is correct. _Assuming_ that you can get the 'right' object doing what you stated (I'm not sure if what you are saying is correct, I've not touched multiple-inheritance in a long while), then write a function to do it for you. i.e. Base_Object& C::getBaseObject() { You would then call getBaseObject(). Your description was clear as mud. :) Good luck. Adrian -- _____________________________________________________________________ \/Adrian_Hawryluk BSc. - Specialties: UML, OOPD, Real-Time Systems\/ \ _---_ Q. What are you doing here? _---_ / \ / | A. Just surf'n the net, teaching and | \ / \__/___\___ learning, learning and teaching. You?_____/___\__/ \/______[blog:__[URL]http://adrians-musings.blogspot.com/]______\/[/URL] [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Issues with multiple inheritance
Top