A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/map/map/~map/ below:

public member function

<map>

std::map::~map
~map();

Map destructor

Destroys the container object.

This destroys all container elements, and deallocates all the storage capacity allocated by the

map

container using its

allocator

.


This calls

allocator_traits::destroy

on each of the contained elements, and deallocates all the storage capacity allocated by the

map

container using its

allocator

.



Complexity Linear in map::size (destructors).

Iterator validity All iterators, pointers and references are invalidated.

Data races The container and all its elements are modified.

Exception safetyNo-throw guarantee: never throws exceptions.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4