[omniORB] Inheritance of interface implementation classes?

Kevin Bailey ke-omniorb at retriever.dyndns.org
Thu Jan 10 09:57:22 GMT 2008


On Thu, Jan 10, 2008 at 04:55:53PM +0000, Duncan Grisby wrote:
> 
> > class A_i: public POA::A {
> > ...
> > };
> > 
> > class B_i: public POA::B, public A_i {
> > ...
> > };
> > 
> > Does this work without problems?
> 
> Yes, as long as you use virtual inheritance rather than non-virtual as
> you have used above.

You may also have to:

class B_i: public POA::B, public A_i
{
	using POA::B::_this;

	...



More information about the omniORB-list mailing list