C++ Map Library - ~multimap() Function



Description

The C++ function std::multimap::~multimap() destroys multimap object by deallocating it's memory.

Declaration

Following is the declaration for std::multimap::~multimap() function form std::map header.

C++98

~multimap()

Parameters

None

Return value

Destructor never returns value.

Exceptions

This member function never throws exception.

Time complexity

Linear i.e. O(n)

map.htm
Advertisements