[#BloombergLP-bdlcc-SingleConsumerQueueImpl-tryPushBack-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SingleConsumerQueueImpl.adoc[SingleConsumerQueueImpl]::tryPushBack
:relfileprefix: ../../../
:mrdocs:

Attempt to append the specified move&hyphen;insertable `value` without blocking&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;singleconsumerqueueimpl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
tryPushBack(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;TYPE&gt;] value);
----

== Description

Append the specified move&hyphen;insertable `value` to the back of this queue&period; `value` is left in a valid but unspecified state&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; Specifically, return `e&lowbar;DISABLED` if `isPushBackDisabled()`&period; On failure, `value` is not changed&period;

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| move&hyphen;insertable value to append
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
