On 8/24/2018 6:34 AM, Shachar Shemesh wrote:
No, unlike what I suggest, that doesn't work without carefully reviewing every single place you put it to see whether the constructor actually supports destructing a partially constructed object.

All D objects are default-initialized before the constructor sees it (unlike C++). A destructor should be able to handle a default-initialized object.

Reply via email to