tryPushBack overloads

Synopses

Declared in <bdlcc_singleconsumerqueueimpl.h>

Append the specified move‐insertable value to the back of this queue. value is left in a valid but unspecified state. Return 0 on success, and a non‐zero value otherwise. Specifically, return e_DISABLED if isPushBackDisabled(). On failure, value is not changed.

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

int
tryPushBack(TYPE const& value);

Created with MrDocs