bsl::unordered_map::clear

Remove all entries from this unordered map.

Synopsis

Declared in <bslstl_unorderedmap.h>

void
clear() noexcept;

Description

Remove all entries from this unordered map. Note that this unordered map will be empty after calling this method, but allocated memory may be retained for future use.