public member function
std::map::~map
<map>
Map destructor
Destructs the container object. This calls each of the contained element's destructors, and deallocates all the storage capacity allocated by the
map container.
Complexity
Linear on
map::size (destructors).