T
thomas
link: http://www.parashift.com/c++-faq-lite/private-inheritance.html#faq-24.4
There's a sentence:
"However users of PrivatelyDer should avoid this unsafe conversion,
since it is based on a private decision of PrivatelyDer, and is
subject to change without notice. "
Does it mean that PrivatelyDer decides to make the base class private,
so users should not publicly use a base pointer? Because private
inheritance intends the hide of base class, the use of Base type
pointer should be avoided.
There's a sentence:
"However users of PrivatelyDer should avoid this unsafe conversion,
since it is based on a private decision of PrivatelyDer, and is
subject to change without notice. "
Does it mean that PrivatelyDer decides to make the base class private,
so users should not publicly use a base pointer? Because private
inheritance intends the hide of base class, the use of Base type
pointer should be avoided.