[#BloombergLP-bdlcc-Deque-tryPushFront-024] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Deque.adoc[Deque]::tryPushFront :relfileprefix: ../../../ :mrdocs: `tryPushFront` overloads == Synopses Declared in `<bdlcc_deque.h>` Try to move‐append `item` to the front without blocking. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/Deque/tryPushFront-0ac.adoc[tryPushFront](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<TYPE>] item); ---- [.small]#xref:BloombergLP/bdlcc/Deque/tryPushFront-0ac.adoc[_» more..._]# Try to append `item` to the front without blocking. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/Deque/tryPushFront-026.adoc[tryPushFront](TYPE const& item); ---- [.small]#xref:BloombergLP/bdlcc/Deque/tryPushFront-026.adoc[_» more..._]# Push items from the specified range to the front while space remains. [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/tryPushFront-0a2.adoc[tryPushFront]( INPUT_ITER begin, INPUT_ITER end); ---- [.small]#xref:BloombergLP/bdlcc/Deque/tryPushFront-0a2.adoc[_» more..._]# == Return Value * 0 if the container was updated, and a non‐zero value otherwise * the number of items pushed == Parameters [cols="1,4"] |=== | Name| Description | *item* | value to move‐append | *begin* | start of the input range | *end* | end of the input range |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#