pushBack overloads
Synopses
Declared in <bdlcc_singleproducersingleconsumerboundedqueue.h>
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_SUCCESS on success, e_DISABLED if isPushBackDisabled() and e_FAILED if an underlying mechanism returns an error. On failure, value is not changed. Threads blocked due to the queue being full will return e_DISABLED if disablePushFront is invoked. The behavior is undefined unless the invoker of this method is the single producer.
int
pushBack(bslmf::MovableRef<TYPE> value);
Append the specified value to the back of this queue. Return 0 on success, and a non‐zero value otherwise. Specifically, return e_SUCCESS on success, e_DISABLED if isPushBackDisabled() and e_FAILED if an underlying mechanism returns an error. Threads blocked due to the queue being full will return e_DISABLED if disablePushFront is invoked. The behavior is undefined unless the invoker of this method is the single producer.
int
pushBack(TYPE const& value);
Created with MrDocs