Append the specified move‐insertable value to the back of this queue.
Synopsis
Declared in <bdlcc_singleproducerqueueimpl.h>
int
tryPushBack(bslmf::MovableRef<TYPE> value);
Description
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. The behavior is undefined unless the invoker of this method is the single producer.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
value |
move‐insertable element to append to the queue |
Created with MrDocs