[#BloombergLP-bdlcc-TimeQueue-091-popLE-055]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/TimeQueue-091.adoc[TimeQueue&lt;function&lt;void()&gt;&gt;]::popLE
:relfileprefix: ../../../
:mrdocs:

`popLE` overloads

== Synopses

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

Remove from this queue all the items that have a time value less than or equal to the specified `time`, and optionally append into the optionally specified `buffer` a list of the removed items, ordered by their corresponding time values (top item first)&period; Optionally load into the optionally specified `newLength` the number of items remaining in this queue, and into the optionally specified `newMinTime` the lowest remaining time value in this queue&period; Note that `newMinTime` is only loaded if there are items remaining in the time queue&semi; therefore, `newLength` should be specified and examined to determine whether items remain, and `newMinTime` used only when `newLength &gt; 0`&period; Also note that if `DATA` follows the `bdema` allocator model, the allocator of the `buffer` vector is used to supply memory for the items appended to the `buffer`&period;


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

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

Remove from this queue up to the specified `maxTimers` number of items that have a time value less than or equal to the specified `time`, and optionally append into the optionally specified `buffer` a list of the removed items, ordered by their corresponding time values (top item first)&period; Optionally load into the optionally specified `newLength` the number of items remaining in this queue, and into the optionally specified `newMinTime` the lowest remaining time value in this queue&period; The behavior is undefined unless `maxTimers &gt;&equals; 0`&period; Note that `newMinTime` is only loaded if there are items remaining in the time queue&semi; therefore, `newLength` should be specified and examined to determine whether items remain, and `newMinTime` used only when `newLength &gt; 0`&period; Also note that if `DATA` follows the `bdema` allocator model, the allocator of the `buffer` vector is used to supply memory&period; Note finally that all the items appended into `buffer` have a time value less than or equal to the elements remaining in this queue&period;


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

[.small]#xref:BloombergLP/bdlcc/TimeQueue-091/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-091/popLE-0b.adoc[popLE](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;TimeQueueItem&lt;function&lt;void()&gt;&gt;&gt;]* buffer,
    int* newLength = 0,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0);
----

[.small]#xref:BloombergLP/bdlcc/TimeQueue-091/popLE-0b.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-091/popLE-038.adoc[popLE](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time,
    std::pmr::vector&lt;TimeQueueItem&lt;function&lt;void()&gt;&gt;&gt;* buffer,
    int* newLength = 0,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0);
----

[.small]#xref:BloombergLP/bdlcc/TimeQueue-091/popLE-038.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-091/popLE-031.adoc[popLE](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time,
    std::vector&lt;TimeQueueItem&lt;function&lt;void()&gt;&gt;&gt;* buffer,
    int* newLength = 0,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0);
----

[.small]#xref:BloombergLP/bdlcc/TimeQueue-091/popLE-031.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-091/popLE-0a.adoc[popLE](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time,
    int maxTimers,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;TimeQueueItem&lt;function&lt;void()&gt;&gt;&gt;]* buffer,
    int* newLength = 0,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0);
----

[.small]#xref:BloombergLP/bdlcc/TimeQueue-091/popLE-0a.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-091/popLE-05f.adoc[popLE](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time,
    int maxTimers,
    std::pmr::vector&lt;TimeQueueItem&lt;function&lt;void()&gt;&gt;&gt;* buffer,
    int* newLength = 0,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0);
----

[.small]#xref:BloombergLP/bdlcc/TimeQueue-091/popLE-05f.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-091/popLE-08.adoc[popLE](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time,
    int maxTimers,
    std::vector&lt;TimeQueueItem&lt;function&lt;void()&gt;&gt;&gt;* buffer,
    int* newLength = 0,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]* newMinTime = 0);
----

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


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