Re: Virtual function calls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Virtual function calls
- To: cxx-abi@xxxxxxxxxxxxxxxxxxxx, Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Subject: Re: Virtual function calls
- From: dehnert@xxxxxxxxxxxxxxxxxxxx (Jim Dehnert)
- Date: Tue, 1 Feb 2000 12:44:07 -0800 (PST)
I've made this change.
Jim
> This is a nit.
>
> I don't think:
>
> The caller adjusts the 'this' argument to point to the class which
> last overrode the function being called. The result provides both the
> 'this' argument and the vtable pointer for finding the function we
> want.
>
> is very clear...
>
> I think its easiest to use terms straight out of the standard:
>
> The caller adjusts the `this' argument to point to the class
> that contains the unique final overrider (as defined in
> [class.virtual]) for the function being called. The result provides
> both the 'this' argument and the vtable pointer for finding the
> function we want.
>
> --
> Mark Mitchell mark@xxxxxxxxxxxxxxxx
> CodeSourcery, LLC http://www.codesourcery.com
>
- Jim Dehnert dehnert@xxxxxxx
(650)933-4272