Namespaces
Variants
Views
Actions

std::unordered_multimap::clear

From cppreference.com
 
 
 
 
void clear();
(since C++11)

Removes all elements from the container. The past-the-end iterators are not invalidated.

Contents

Parameters

(none)

Return value

(none)

Exceptions

noexcept specification:  
noexcept
  (since C++11)

Complexity

Linear in the size of the container.


See also

erases elements
(public member function) [edit]