Standard C++ Library Reference ISO/IEC (VERSION3)
members are:
typedef Ty value_type;
typedef T0 size_type;
Container();
bool empty() const;
size_type size() const;
value_type& front();
const value_type& front() const;
value_type& back();
const value_type& back() const;
void push_back(const value_type& val);
void pop_front();
bool operator==(const Container& cont) const;
bool operator!=(const Container& cont) const;
bool operator<(const Container& cont) const;
bool operator>(const Container& cont) const;
bool operator<=(const Container& cont) const;
bool operator>=(const Container& cont) const;
Here, T0 is an unspecified type that meets the stated requirements.
queue::back
value_type& back();
const value_type& back() const;
The member function returns a reference to the last element of the controlled sequence, which
must be non-empty.
queue::container_type
typedef Container container_type;
The type is a synonym for the template parameter Container.
queue::empty
bool empty() const;
The member function returns true for an empty controlled sequence.
queue::front
value_type& front();
const value_type& front() const;