[#BloombergLP-bdlcc-TimeQueue-09c-2constructor-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/TimeQueue-09c.adoc[TimeQueue]::TimeQueue
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create an empty time queue&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlcc/TimeQueue-09c/2constructor-0c.adoc[TimeQueue](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

Create an empty time queue (deprecated `poolTimerMemory` overload)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlcc/TimeQueue-09c/2constructor-0e.adoc[TimeQueue](
    bool poolTimerMemory,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

Same as the preceding overload, using the specified `numIndexBits`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlcc/TimeQueue-09c/2constructor-00.adoc[TimeQueue](
    int numIndexBits,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

Same as the preceding deprecated overload, with the specified `numIndexBits`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlcc/TimeQueue-09c/2constructor-0f.adoc[TimeQueue](
    int numIndexBits,
    bool poolTimerMemory,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| allocator used to supply memory
| *poolTimerMemory*
| ignored&semi; retained for compatibility
| *numIndexBits*
| number of index bits to configure
|===


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