Hallo, can map destruct pointer or class when it is value? Or I need to define a destructor separately?
Example:
Class token{};
map<blah, vector*>
map<blah, token*>
Destruction of a plain pointer does not deallocate the memory that the pointer points to.
Perhaps std::map<blah,std::unique_ptr<token>>