This is the mail archive of the gcc-bugs@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]

Re: C++ Patch (Was: Virtual Mem Func Ptr Call Fails When Base Class Has No Vtable)


>>>>> 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


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