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

Push as many of the items in the specified range `&lsqb;begin &period;&period; end)&rsqb;` as there is space available for (see &lcub;`High&hyphen;Water Mark` Feature&rcub;) to the back of the container, stopping if the container high&hyphen;water mark is reached&period; Return the number of items pushed&period; Note that the items in the range are treated as `const` objects, copied without being modified&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class INPUT&lowbar;ITER&gt;
xref:BloombergLP/bdlcc/Deque/size_type.adoc[Deque&lt;TYPE&gt;::size&lowbar;type]
tryPushBack(
    INPUT&lowbar;ITER begin,
    INPUT&lowbar;ITER end);
----


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