Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualfrob

Posted 04 February 2013 - 12:50 AM

There is a FAQ on that.

It is one of many c++ features that are rarely needed but nice to have.

It can be used as a channel to send messages between classes: the base class calls a protected pure virtual function and the child class calls a protected base function.

It can be used for containing things where only the containing object knows the association.

Uses are very uncommon, you may never need it. But if you do need it, it is there.

#2frob

Posted 04 February 2013 - 12:45 AM

There is a FAQ on that.

It is one of many c++ features that are rarely needed but nice to have.

#1frob

Posted 04 February 2013 - 12:39 AM

There is a http://www.parashift.com/c++-faq-lite/private-inheritance.html'>FAQ on that.

PARTNERS