[#BloombergLP-bdlcc-MultipriorityQueue-tryPopFront] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/MultipriorityQueue.adoc[MultipriorityQueue]::tryPopFront :relfileprefix: ../../../ :mrdocs: Attempt to remove (immediately) the least‐recently added item having the most urgent priority (lowest value) from this multi‐priority queue. On success, load the value of the popped item into the specified `item`; if the optionally specified `itemPriority` is non‐null, load the priority of the popped item into `itemPriority`; and return 0. Otherwise, leave `item` and `itemPriority` unmodified, and return a non‐zero value indicating that this queue was empty. The behavior is undefined unless `item` is non‐null. Note this is unaffected by the enabled / disabled state of the queue. == Synopsis Declared in `<bdlcc_multipriorityqueue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int tryPopFront( TYPE* item, int* itemPriority = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#