I suspect you misunderstood the question. But it doesn't matter. The C++ standard states the destructor has to be called at the end of the block.
I suspect you misunderstood the question. But it doesn't matter. The C++ standard states the destructor has to be called at the end of the block.