This is the mail archive of the gcc@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: Covariant Returns


I've experienced similar problems with covariant returns ...

The situation arises when overloading an inherited virtual function that

returns a class possessing a virtual base class, where the
aforementioned overloaded virtual function returns a derived form of the

return class ...




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