In C++ this works amazingly well for objects in the stack (not in the heap, as you need call the destructor yourself).
In C++ this works amazingly well for objects in the stack (not in the heap, as you need call the destructor yourself).