When is a c++ class deallocated if inserted vector but it goes out of scope

Printable View