[#BloombergLP-bdlcc-TimeQueue-09c-remove-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/TimeQueue-09c.adoc[TimeQueue]::remove :relfileprefix: ../../../ :mrdocs: `remove` overloads == Synopses Declared in `<bdlcc_timequeue.h>` Remove from this queue the item having the specified `handle`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/TimeQueue-09c/remove-06.adoc[remove]( xref:BloombergLP/bdlcc/TimeQueue-09c/Handle.adoc[Handle] handle, int* newLength = 0, xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0, xref:BloombergLP/bdlcc/TimeQueueItem.adoc[TimeQueueItem<DATA>]* item = 0); ---- [.small]#xref:BloombergLP/bdlcc/TimeQueue-09c/remove-06.adoc[_» more..._]# Same as the preceding overload, with the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/TimeQueue-09c/remove-07.adoc[remove]( xref:BloombergLP/bdlcc/TimeQueue-09c/Handle.adoc[Handle] handle, xref:BloombergLP/bdlcc/TimeQueue-09c/Key.adoc[Key] const& key, int* newLength = 0, xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0, xref:BloombergLP/bdlcc/TimeQueueItem.adoc[TimeQueueItem<DATA>]* item = 0); ---- [.small]#xref:BloombergLP/bdlcc/TimeQueue-09c/remove-07.adoc[_» more..._]# == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *handle* | handle of the item to remove | *newLength* | if non‐null, receives the new queue length | *newMinTime* | if non‐null, receives the new minimum time | *item* | if non‐null, receives the removed item | *key* | key that must also match |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#