Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
queue Members
Collapse the table of content
Expand the table of content

queue Members 

Reference

Constructors

queue

Constructs a queue that is empty or that is a copy of a base container object.

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.

size

Returns the number of elements in the queue.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft