[#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; Optionally specify `numIndexBits` to configure the number of index bits used by this object&period; If `numIndexBits` is not specified a default value of 17 is used&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period; The behavior is undefined unless `8 &lt;&equals; numIndexBits &lt;&equals; 24`&period; See the component&hyphen;level documentation for more information regarding `numIndexBits`&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;_]#

DEPRECATED&colon; Use the other constructor overloads instead&period; Note that the specified `poolTimerMemory` argument controlled whether additional memory used by an internal `bsl&colon;&colon;map` was pooled&period; When `bsl&colon;&colon;map` was modified to pool its own nodes, this option became irrelevant and is now ignored&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;_]#


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