std::stack<T,Container>::~stack

From cppreference.com
< cpp‎ | container‎ | stack

~stack();

A destructor. Destructs the stack

Complexity

Linear in the size of the stack.