queue::front

value_type& front();
const value_type& front() const;

The member function returns a reference to the first element of the controlled sequence, which must be non-empty.

See the related sample program.