470,591 Members | 2,302 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,591 developers. It's quick & easy.

Multiple inheritance with a common base class

Hi,

I don't quite get the paragraph in the docs about this. Here it is:

"A well-known problem with multiple inheritance is a class derived from
two classes that happen to have a common base class. While it is easy
enough to figure out what happens in this case (the instance will have a
single copy of ``instance variables'' or data attributes used by the
common base class), it is not clear that these semantics are in any way
useful."

If it's so easy to figure out, what is a problem then? And what should
the comment about usefulness suggest?

Thanks

--
Markus Bertheau <tw*****@bluetwanger.de>

Jul 18 '05 #1
0 869

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Paul | last post: by
20 posts views Thread by km | last post: by
2 posts views Thread by Emmanuel | last post: by
2 posts views Thread by Heinz Ketchup | last post: by
3 posts views Thread by Jess | last post: by
47 posts views Thread by Larry Smith | last post: by
6 posts views Thread by =?Utf-8?B?UXVhbiBOZ3V5ZW4=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.