[#BloombergLP-bdlcc-TimeQueue-09c-popLE-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/TimeQueue-09c.adoc[TimeQueue]::popLE
:relfileprefix: ../../../
:mrdocs:

`popLE` overloads

== Synopses

Declared in `&lt;bdlcc&lowbar;timequeue&period;h&gt;`

Remove all items with a time less than or equal to the specified `time`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-01.adoc[popLE](xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time);
----

[.small]#xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-01.adoc[_» more&period;&period;&period;_]#

Remove up to `maxTimers` items with a time less than or equal to `time`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-06.adoc[popLE](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time,
    int maxTimers);
----

[.small]#xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-06.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, appending removed items to the specified `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-07.adoc[popLE](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;TimeQueueItem&lt;DATA&gt;&gt;]* buffer,
    int* newLength = 0,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0);
----

[.small]#xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-07.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, appending removed items to the specified `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-08.adoc[popLE](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time,
    std::pmr::vector&lt;TimeQueueItem&lt;DATA&gt;&gt;* buffer,
    int* newLength = 0,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0);
----

[.small]#xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-08.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, appending removed items to the specified `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-03.adoc[popLE](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time,
    std::vector&lt;TimeQueueItem&lt;DATA&gt;&gt;* buffer,
    int* newLength = 0,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0);
----

[.small]#xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-03.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, appending removed items to the specified `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-0d.adoc[popLE](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time,
    int maxTimers,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;TimeQueueItem&lt;DATA&gt;&gt;]* buffer,
    int* newLength = 0,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0);
----

[.small]#xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-0d.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, appending removed items to the specified `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-0f.adoc[popLE](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time,
    int maxTimers,
    std::pmr::vector&lt;TimeQueueItem&lt;DATA&gt;&gt;* buffer,
    int* newLength = 0,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0);
----

[.small]#xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-0f.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, appending removed items to the specified `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-0a.adoc[popLE](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time,
    int maxTimers,
    std::vector&lt;TimeQueueItem&lt;DATA&gt;&gt;* buffer,
    int* newLength = 0,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0);
----

[.small]#xref:BloombergLP/bdlcc/TimeQueue-09c/popLE-0a.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *time*
| time threshold for removing items
| *maxTimers*
| maximum number of items to remove
| *buffer*
| receives the removed items
| *newLength*
| if non&hyphen;null, receives the new queue length
| *newMinTime*
| if non&hyphen;null, receives the new minimum time
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
