C++ Unordered_set Library - destructor



Description

It is used to destruct the container object.

Declaration

Following is the declaration for std::unordered_set::~unordered_set.

C++98

~unordered_set();

Time complexity

Linear on unordered_set::size.

unordered_set.htm
Advertisements