[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: why g++ this not compile



On Tuesday 19 of June 2012 18:40:53 you wrote:
> There is a work a round (included for completeness).
> 
> //instead of these 2 lines
> 
> >  e.C::A::out();
> >  e.D::A::out();
> 
> //use the following (obvious work a round for the previous 2 line, though
> it should be unnecessary)
> //  C c=e;
> //  c.A::out();
> //  D d=e;
> //  d.A::out();

Yes, you are right. 
Thank you very much.

Zbigniew 


Reply to: