This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: abstract base classes & MI


> I don't see the ambiguity.  Does egcs really think I want to invoke
> the pure method? :)

Yes. Pureness doesn't matter in name lookup. If you want to remove the
ambituity, you can call the method for the A_impl base object:

           ((A_impl*)this)->foo ( );

Regards,
Martin



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]