How come cout works in destructor function?

Printable View