dtor pointers in ctor vtables
Jason Merrill
jason_merrill@redhat.com
Mon Jun 11 11:27:00 GMT 2001
>>>>> "Nathan" == Nathan Sidwell <nathan@codesourcery.com> writes:
> It's not permissible to destruct the object inside a base class constructor
It doesn't make sense, but I don't see where it's prohibited.
> (you'd call the wrong destructor anyway). As an aid to debugging, why
> not simply use __cxa_pure_virtual? This patch does that. I don't think
> this is really an ABI change, as the case is ill-formed.
Is it?
Jason
More information about the Gcc-patches
mailing list