C++ Deque Library - ~deque() Function


Advertisements

Description

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

Declaration

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

C++98

~deque();

C++11

~deque();

Parameters

None

Return value

Destructor never returns value.

Exceptions

This member function never throws exception.

Time complexity

Linear i.e. O(n)

deque.htm
Advertisements