The C++ function std::unordered_map::~unordered_map() destroys unordered_map object by deallocating it's memory.
Following is the declaration for std::unordered_map::~unordered_map() function form std::unordered_map header.
~unordered_map()
None
Destructor never returns value.