std::queue<T,Container>::front

Returns reference to the first element in the queue. This element will be the first element to be removed on a call to pop(). Effectively calls c.front().

# Declarations

reference front();
const_reference front() const;

# Return value

Reference to the first element.

# See also