Difference between revisions of "cpp/container/map/~map"
From cppreference.com
m (Add link to edit the included template) |
m (r2.7.3) (Robot: Adding de, es, fr, it, ja, pt, ru, zh) |
||
Line 1: | Line 1: | ||
{{page template|cpp/container/destructor|map}} | {{page template|cpp/container/destructor|map}} | ||
+ | |||
+ | [[de:cpp/container/map/~map]] | ||
+ | [[es:cpp/container/map/~map]] | ||
+ | [[fr:cpp/container/map/~map]] | ||
+ | [[it:cpp/container/map/~map]] | ||
+ | [[ja:cpp/container/map/~map]] | ||
+ | [[pt:cpp/container/map/~map]] | ||
+ | [[ru:cpp/container/map/~map]] | ||
+ | [[zh:cpp/container/map/~map]] |
Revision as of 18:26, 2 November 2012
~map(); |
||
A destructor.
Destructs the map
. The destructors of the elements are called and the used storage is deallocated. Note, that if the elements are pointers, the pointed-to objects are not destroyed.
Complexity
Linear in the size of the map
.