BloombergLP::bdlcc::FixedQueue::pushBack

Append move-insertable value to the back, blocking if necessary.

Synopsis

Declared in <bdlcc_fixedqueue.h>

int
pushBack(bslmf::MovableRef<TYPE> value);

Description

Append the specified move-insertable value to the back of this queue, blocking until either space is available - if necessary - or the queue is disabled. value is left in a valid but unspecified state. Return 0 on success, and a nonzero value if the queue is disabled.

Return Value

0 on success, and a nonzero value if the queue is disabled

Parameters

NameDescription
valuemove-insertable value to append