[ERROR]
Explicit Destructor calls inside member functions without using this are illegal.
struct A {
void f();
~A();
};
void A::f() {
~A(); // illegal
this->~A(); // ok
}
Use the this pointer.