[#BloombergLP-bdlcc-Deque-tryPopFront-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Deque.adoc[Deque]::tryPopFront :relfileprefix: ../../../ :mrdocs: Remove up to `maxNumItems` from the front without blocking. == Synopsis Declared in `<bdlcc_deque.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void tryPopFront(xref:BloombergLP/bdlcc/Deque/size_type.adoc[size_type] maxNumItems); ---- == Description Remove up to the specified `maxNumItems` from the front of this container. Note that to transfer the entire contents of a `Deque` `d` to a vector `v`, use `d.removeAll(&v);`. == Parameters [cols="1,4"] |=== | Name| Description | *maxNumItems* | maximum number of items to remove |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#