Solved

Multiple Inheritance(more little but essential details)

Posted on 2002-07-18
1
200 Views
Last Modified: 2010-04-01
I'd like to have your recommendation about good source for below topics:

1. virtual base in MI
2. how much VPTRs in object d if:
(smth like this)

      Base
    /   |   \
  v/    |    \v    // v - virtual inheritance
  B1   B2    B3
   \    |    /
    \   |   /
     Derived
     
Derived d;

p.s. context of my question: I'm preparing for test in OOP course, so I want to learn method

Regards, VR_
0
Comment
Question by:VR_
1 Comment
 
LVL 2

Accepted Solution

by:
Serega earned 50 total points
ID: 7164142
Try to read article "Under the hood of C++" by Jan Gray.
It was sometime ago in the MSDN, but now I've found it at http://www.cs.wustl.edu/~inder/oop/Gray-article.html 

Suppose it helps.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question