Virtual function calls

Jim Dehnert dehnert at baalbek.engr.sgi.com
Tue Feb 1 20:44:07 UTC 2000


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 at codesourcery.com
> CodeSourcery, LLC               http://www.codesourcery.com
> 
-	    Jim Dehnert		dehnert at sgi.com
				(650)933-4272




More information about the cxx-abi-dev mailing list