Export (0) Print
Expand All

queue Members

Typedefs

container_type A type that provides the base container to be adapted by the queue.
size_type An unsigned integer type that can represent the number of elements in a queue.
value_type A type that represents the type of object stored as an element in a queue.

Member Functions

back Returns a reference to the last and most recently added element at the back of the queue.
empty Tests if the queue is empty.
front Returns a reference to the first element at the front of the queue.
pop Removes an element from the front of the queue.
push Adds an element to the back of the queue.
queue Constructs a queue that is empty or that is a copy of a base container object.
size Returns the number of elements in the queue.

See Also

queue Class | Thread Safety in the Standard C++ Library

Show:
© 2014 Microsoft