BloombergLP::bdlcc::SingleConsumerQueueImpl::tryPushBack

tryPushBack overloads

Synopses

Declared in <bdlcc_singleconsumerqueueimpl.h>

Attempt to append the specified move-insertable value without blocking.

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

Attempt to append the specified value without blocking.

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

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
valuemove-insertable value to append