This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Covariant Returns
- To: gcc at gcc dot gnu dot org
- Subject: Re: Covariant Returns
- From: Will <e1wwater at dingo dot cc dot uq dot edu dot au>
- Date: Wed, 16 Feb 2000 02:57:02 +1000
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 ...