Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cxx-abi-dev] ::delete and deleting destructors


  • To: Dennis Handly <dhandly@xxxxxxxxxx>
  • Subject: Re: [cxx-abi-dev] ::delete and deleting destructors
  • From: Jason Merrill <jason@xxxxxxxxxx>
  • Date: Thu, 06 Sep 2007 16:14:53 -0400

Shorter pseudo-code would be

void *head = dynamic_cast<void*>(x);
x->complete object destructor();
::operator delete(head);

Wouldn't hurt to add this to the document as a note since everyone seems to have gotten it wrong...

Jason