Why the destructor is called?

Printable View