C++ Patch (Was: Virtual Mem Func Ptr Call Fails When Base Class Has No Vtable)
Jason Merrill
jason@cygnus.com
Thu Sep 30 23:58:00 GMT 1999
>>>>> Jason Merrill <jason@cygnus.com> writes:
> The null member pointer value (conv.mem) is converted to the null member
> pointer value of the destination type. If class B contains the original
> member, or is a base or derived class of the class containing the original
> member, the resulting pointer to member points to the original
> member. Otherwise, the result of the cast is undefined.
Sorry, I can't read. "or is a base...class" does it. Never mind...
Jason
More information about the Gcc-patches
mailing list