[cxx-abi-dev] Uncallable constructor variants

Jason Merrill jason at redhat.com
Fri Apr 1 14:36:05 UTC 2016


On 04/01/2016 10:33 AM, Nathan Sidwell wrote:
> On 04/01/16 10:15, Jason Merrill wrote:
>> The base object constructor can never be called for a final class, nor can the
>> complete object constructor for an abstract one.  Does anyone see an ABI problem
>> with omitting these variants?
>
> Presumably the same applies to the corresponding destructors? (With any
> deleting-dtor behaving the same as the complete-dtor)

Yes, except that virtual complete/deleting destructors always need to be 
emitted, to satisfy vtable references.

Jason



More information about the cxx-abi-dev mailing list