BloombergLP::bdlcc::SingleConsumerQueue::tryPushBack

Append the specified value to the back of this queue. Return 0 on success, and a non-zero value otherwise. Specifically, return e_DISABLED if isPushBackDisabled().

Synopsis

Declared in <bdlcc_singleconsumerqueue.h>

int
tryPushBack(TYPE const& value);