|
-
February 23rd, 2010, 05:09 AM
#7
Re: A question regarding Mulitple Inheritance
 Originally Posted by Zaccheus
I'm pretty sure you can even dynamically cast between a pointer to A1 and a pointer to B1 !
That's a so called crosscast and it's possible using a dynamic_cast.
Note however that this involves an implicit downcast so it should be avoided because it's not typesafe (cannot be verified at compiletime so it can fail at runtime).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|