Contents Up << >>

Inheritance: Private and protected

How do you express "private inheritance"?
How are "private inheritance" and "composition" similar?
Which should I prefer: composition or private inheritance?
Should I pointer-cast from a "privately" derived class to its base class?
How is protected inheritance related to private inheritance?
What are the access rules with "private" and "protected" inheritance?