[#BloombergLP-bdlcc-MultipriorityQueue-2constructor-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/MultipriorityQueue.adoc[MultipriorityQueue]::MultipriorityQueue
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create a multipriority queue with the default number of priorities&period;


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

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

Create a multipriority queue supporting the specified number of priorities&period;


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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| allocator used to supply memory
| *numPriorities*
| number of distinct priorities supported
|===


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