Why is destructor being called??

Printable View