front overloads

Synopses

Declared in <bslstl_queue.h>

Return a reference providing modifiable access to the front (the earliest pushed) element from this queue object.

Return the immutable front (the earliest pushed) element from this queue object. In effect, performs c.front().

Return Value

  • modifiable reference to the front element

  • non‐modifiable reference to the front element

Created with MrDocs