BloombergLP::bdlcc::FixedQueue::tryPushBack

tryPushBack overloads

Synopses

Declared in <bdlcc_fixedqueue.h>

Attempt to append the specified move-insertable value to the back of this queue without blocking. value is left in a valid but unspecified state. Return 0 on success, and a non-zero value if the queue is full or disabled.

int
tryPushBack(bslmf::MovableRef<TYPE> value);
» more...

Attempt to append the specified value to the back of this queue without blocking. Return 0 on success, and a non-zero value if the queue is full or disabled.

int
tryPushBack(TYPE const& value);
» more...