BloombergLP::bdlcc::BoundedQueue::tryPushBack

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(), e_FULL if !isPushBackDisabled() and the queue was full, and e_FAILED if an error occurs.

Synopsis

Declared in <bdlcc_boundedqueue.h>

int
tryPushBack(TYPE const& value);