0 out of 2 rated this helpful - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.