BloombergLP::bdlcc::SingleConsumerQueue::tryPushBack

tryPushBack overloads

Synopses

Declared in <bdlcc_singleconsumerqueue.h>

Attempt to append move-insertable value to the back of this queue.

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

Attempt to append the specified value to the back of this queue.

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

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
valuemove-insertable value to append