<deque>

Defines the container class template deque and several supporting templates.

Requirements

Header: <deque>

Note

The <deque> library also uses the #include <initializer_list> statement.

Members

Operators

operator!= Tests if the deque object on the left side of the operator is not equal to the deque object on the right side.
operator< Tests if the deque object on the left side of the operator is less than the deque object on the right side.
operator<= Tests if the deque object on the left side of the operator is less than or equal to the deque object on the right side.
operator== Tests if the deque object on the left side of the operator is equal to the deque object on the right side.
operator> Tests if the deque object on the left side of the operator is greater than the deque object on the right side.
operator>= Tests if the deque object on the left side of the operator is greater than or equal to the deque object on the right side.

Functions

swap Exchanges the elements of two deques.

Classes

deque Class A class template of sequence containers that arrange elements of a given type in a linear arrangement and, like vectors, allow fast random access to any element and efficient insertion and deletion at the back of the container.

See also

Header Files Reference
Thread Safety in the C++ Standard Library
C++ Standard Library Reference