[#BloombergLP-bdlcc-Deque-tryPushFront-026]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Deque.adoc[Deque]::tryPushFront
:relfileprefix: ../../../
:mrdocs:

If the container is not full (see &lcub;`High&hyphen;Water Mark` Feature&rcub;), append the specified `item` to the front of the container, otherwise leave the container unchanged&period; Return 0 if the container was updated and a non&hyphen;zero value otherwise&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
tryPushFront(TYPE const& item);
----


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