C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

How do you express `private inheritance'?

0 votes
29 views
asked Dec 19, 2010 by anonymous

1 Answer

0 votes
When you use `: private' instead of `: public'. Ex:

class Foo : private Bar {
//...
};
answered Dec 19, 2010 by anonymous

Related questions

0 votes
1 answer 45 views
0 votes
1 answer 72 views
0 votes
1 answer 57 views
0 votes
1 answer 13 views
13 views asked Jan 1, 2014 by sara Guru (24,570 points)
0 votes
2 answers 22 views
22 views asked Dec 31, 2013 by smith Geek (15,340 points)
...