back overloads
Synopses
Declared in <bdlc_queue.h>
Return a reference to the modifiable value at the back of this queue. The reference will remain valid as long as the queue is not destroyed or modified (e.g., via insert, remove, or append). The behavior is undefined if the queue is empty. Note that this function is logically equivalent to: ` operator ‐ 1) `
T&
back();
Return a reference to the non‐modifiable element at the back of this queue. The reference will remain valid as long as this queue is not destroyed or modified (e.g., via insert, remove, or append). The behavior is undefined if this queue is empty. Note that this function is logically equivalent to: ` operator ‐ 1) `
T const&
back() const;
Created with MrDocs