Remove all elements from this deque making its size 0. Note that although this deque is empty after this method returns, it preserves the same capacity it had before the method was called.

Synopsis

Declared in <bslstl_deque.h>

void
clear() noexcept;

Created with MrDocs