[omniORB] interface inheritance and _i inheritance

Duncan Grisby dgrisby@uk.research.att.com
Tue, 13 Nov 2001 18:06:42 +0000


On Tuesday 13 November, =?iso-8859-1?B?RnLpZOlyaWMgUHJpbg==?= wrote:

> interface A {
>  void MethodA();
> };
> interface B : A {
>  void MethodB();
> };

[...]
> class B_i : public POA_B,
>                public A_i

You must use virtual inheritance to avoid the name clashes.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --