Append the specified item to the back of this queue.
Synopsis
Declared in <bdlc_queue.h>
void
pushBack(T const& item);
Description
Append the specified item to the back of this queue efficiently (in O[1]time when memory reallocation is not required). Note that this function is logically equivalent to (but generally more efficient than): ` insert(length(), item); `
Parameters
Name |
Description |
item |
value to append |
Created with MrDocs