bool empty() const | queue | See below. |
size_type size() const | queue | See below. |
value_type& front() | queue | See below. |
const value_type& front() const | queue | See below. |
value_type& back() | queue | See below. |
const value_type& back() const | queue | See below. |
void push(const value_type&) | queue | See below. |
void pop() [3] | queue | See below. |
bool operator==(const queue&, const queue&) | queue | See below. |
bool operator<(const queue&, const queue&) | queue | See below. |
These members are not defined in the Assignable and Default Constructible requirements, but are specific to
| Member | Description |
|---|---|
value_type | The type of object stored in the |
size_type | An unsigned integral type. This is the same as |
bool empty() const | Returns |
| size_type size() const | Returns the number of elements contained in the |
value_type& front() | Returns a mutable reference to the element at the front of the queue, that is, the element least recently inserted. Precondition: |
const value_type& front() const | Returns a const reference to the element at the front of the queue, that is, the element least recently inserted. Precondition: |
value_type& back() | Returns a mutable reference to the element at the back of the queue, that is, the element most recently inserted. Precondition: |
Вы читаете Standard Template Library Programmer's Guide
