deque Class Members
Reference
Constructors
Constructs a deque of a specific size or with elements of a specific value or with a specific allocator or as a copy of all or part of some other deque. |
Typedefs
A type that represents the allocator class for the deque object. |
|
A type that provides a random-access iterator that can access and read a const element in the deque. |
|
A type that provides a pointer to a const element in a deque. |
|
A type that provides a reference to a const element stored in a deque for reading and performing const operations. |
|
A type that provides a random-access iterator that can read any const element in the deque. |
|
A type that provides the difference between two iterators that refer to elements within the same deque. |
|
A type that provides a random-access iterator that can read or modify any element in a deque. |
|
A type that provides a pointer to an element in a deque. |
|
A type that provides a reference to an element stored in a deque. |
|
A type that provides a random-access iterator that can read or modify an element in a reversed deque. |
|
A type that counts the number of elements in a deque. |
|
A type that represents the data type stored in a deque. |
Member Functions
Erases elements from a deque and copies a new set of elements to the target deque. |
|
Returns a reference to the element at a specified location in the deque. |
|
Returns a reference to the last element of the deque. |
|
Returns an iterator addressing the first element in the deque. |
|
Erases all the elements of a deque. |
|
Tests if a deque is empty. |
|
Returns an iterator that addresses the location succeeding the last element in a deque. |
|
Removes an element or a range of elements in a deque from specified positions. |
|
Returns a reference to the first element in a deque. |
|
Returns a copy of the allocator object used to construct the deque. |
|
Inserts an element or a number of elements or a range of elements into the deque at a specified position. |
|
Returns the maximum length of the deque. |
|
Deletes the element at the end of the deque. |
|
Deletes the element at the beginning of the deque. |
|
Adds an element to the end of the deque. |
|
Adds an element to the beginning of the deque. |
|
Returns an iterator to the first element in a reversed deque. |
|
Returns an iterator that points just beyond the last element in a reversed deque. |
|
Specifies a new size for a deque. |
|
Returns the number of elements in the deque. |
|
Exchanges the elements of two deques. |
Operators
Returns a reference to the deque element at a specified position. |