Freigeben über


<deque>

 

The latest version of this topic can be found at <deque>.

Defines the container template class deque and several supporting templates.

Syntax

#include <deque>  
  

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 template class 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
Standard Template Library