std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::~unordered_map

From cppreference.com

~unordered_map();
(since C++11)

A destructor. Destructs the unordered_map

Complexity

Linear in the size of the unordered_map.