[#BloombergLP-bdlcc-Deque-tryPushBack-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Deque.adoc[Deque]::tryPushBack :relfileprefix: ../../../ :mrdocs: `tryPushBack` overloads == Synopses Declared in `<bdlcc_deque.h>` If the container is not full (see {`High‐Water Mark` Feature}), append the specified move‐insertable `item` to the back of the container, otherwise leave the container unchanged. If the container is modified, `item` is left in a valid but unspecified state, otherwise `item` is unchanged. Return 0 if the container was updated and a non‐zero value otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/Deque/tryPushBack-06.adoc[tryPushBack](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<TYPE>] item); ---- [.small]#xref:BloombergLP/bdlcc/Deque/tryPushBack-06.adoc[_» more..._]# If the container is not full (see {`High‐Water Mark` Feature}), append the specified `item` to the back of the container, otherwise leave the container unchanged. Return 0 if the container was updated and a non‐zero value otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/Deque/tryPushBack-02.adoc[tryPushBack](TYPE const& item); ---- [.small]#xref:BloombergLP/bdlcc/Deque/tryPushBack-02.adoc[_» more..._]# Push as many of the items in the specified range `[begin .. end)]` as there is space available for (see {`High‐Water Mark` Feature}) to the back of the container, stopping if the container high‐water mark is reached. Return the number of items pushed. Note that the items in the range are treated as `const` objects, copied without being modified. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class INPUT_ITER> xref:BloombergLP/bdlcc/Deque/size_type.adoc[Deque<TYPE>::size_type] xref:BloombergLP/bdlcc/Deque/tryPushBack-0a.adoc[tryPushBack]( INPUT_ITER begin, INPUT_ITER end); ---- [.small]#xref:BloombergLP/bdlcc/Deque/tryPushBack-0a.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#