back overloads

Synopses

Declared in <bslstl_queue.h>

Return a reference providing modifiable access to the back (the latest pushed) element of this queue object.

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

Return Value

  • modifiable reference to the back element

  • non‐modifiable reference to the back element

Created with MrDocs