Append move‐insertable value to the back of this queue.
Synopsis
Declared in <bdlcc_singleconsumerqueue.h>
int
pushBack(bslmf::MovableRef<TYPE> value);
Description
Append the specified move‐insertable value to the back of this queue. value is left in a valid but unspecified state. Return 0 on success, and a non‐zero value otherwise. Specifically, return e_DISABLED if isPushBackDisabled(). On failure, value is not changed.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
value |
move‐insertable value to append |
Created with MrDocs