Hello all,
In page 508 of this book (http://books.google.com/books?id=We2...epage&q&f=true), Biarne says: "This would make Shape a private base of Circle, making Shape's public functions inaccessible for a Circle."
And also in page of 511 of that book says: "If a base of class D is private, its public and protected member names can be used only by the members of D.".
These two make a paradox to me! Any idea please?
In page 508 of this book (http://books.google.com/books?id=We2...epage&q&f=true), Biarne says: "This would make Shape a private base of Circle, making Shape's public functions inaccessible for a Circle."
And also in page of 511 of that book says: "If a base of class D is private, its public and protected member names can be used only by the members of D.".
These two make a paradox to me! Any idea please?