Deallocates the specified instance of T from the specified heap.
Finalizes obj_ by calling its destructor (if any).
Notes:
If doFree is true, memory associated with obj_ will additionally be freed
after finalizers have run; otherwise the object is reset to its original state.
Deallocates the specified instance of T from the specified heap. Finalizes obj_ by calling its destructor (if any).
Notes: If doFree is true, memory associated with obj_ will additionally be freed after finalizers have run; otherwise the object is reset to its original state.