C++ vtable example
thomson at ca.ibm.com
thomson at ca.ibm.com
Fri Sep 10 23:54:39 UTC 1999
Jason writes:
>First, I'd like to propose again that the RTTI info move to negative
>offsets, for COM compatibility.
Yes, have there been objections to this?
On the same topic, it has been proposed to pass two implicit parameters
"this" and "this->__vptr" in virtual function calls instead of the
usual one, in case an adjustment thunk needs the second. If it is a
C ABI compliant parameter then the same cross-platform COM consistency
considerations argue that we shouldn't do it.
If it is a "magic" parameter that can't be expressed in C then the
situation is worse, and COM may not be implementable.
Jim's examples:
I have extended and I think corrected some errors in the previous
version. Here's hoping that the right things happen to
attachments:
(See attached file: cxx-vtable-ex.html)
Brian Thomson
VisualAge C/C++ Chief Architect
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/19990910/28fd364c/attachment.html>
More information about the cxx-abi-dev
mailing list