This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.1 and the C++ standard
>>>>> Andi Kleen <ak@muc.de> writes:
>> Non-trivial covariant returns
> Could you expand on this one? Does this mean that the Standard somehow
> supports overloading based on return types now?
Not overloading, but overriding virtual functions can change the return
type provided that it is a pointer to a class type and can implicitly
convert to the return type of the original function.
Jason