front overloads

Synopses

Declared in <bdlc_queue.h>

Return a modifiable reference to the value at the front of this queue.

T&
front();

Return a non‐modifiable reference to the element at the front.

T const&
front() const;

Return Value

  • modifiable reference to the front element

  • non‐modifiable reference to the front element

Created with MrDocs