This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [C++ PATCH] covariant abi conformance


On Tue, 28 Jan 2003 17:44:20 +0000, Nathan Sidwell <nathan@codesourcery.com> wrote:

> We're talking about a (non-trivial) covariant overrider. In the vtable
> slot of the base we have to point to some alternative entry point that
> will convert the return type of the overriding function to the type the
> overridden function returns. We *must* point to a thunk, what is its
> name? In the non-covariant case I agree with you, we just point directly
> to the overriding function. In this case we can't do that.

Good point.  Never mind, then.

Jason


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