3 ms·
The usual reason for explicitly calling the destructor is if you then follow it up with a call to placement new to construct a new object in the same memory, bu
by plorkyeran 12y ago
The usual reason for explicitly calling the destructor is if you then follow it up with a call to placement new to construct a new object in the same memory, but presumably that part was not relevant to the crash and so was not included in the minimal test case.