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

Constructors

== Synopses

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

Create an empty container with no high&hyphen;water mark&period;


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

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

Create an empty container using `clockType` for timed operations&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlcc/Deque/2constructor-07f.adoc[Deque](
    xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

Create an empty container with the specified `highWaterMark`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlcc/Deque/2constructor-07d.adoc[Deque](
    std::size&lowbar;t highWaterMark,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

Create a container having the same value as `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlcc/Deque/2constructor-0a.adoc[Deque](
    xref:BloombergLP/bdlcc/Deque.adoc[Deque&lt;TYPE&gt;] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

Create an empty container with `highWaterMark` and `clockType`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlcc/Deque/2constructor-025.adoc[Deque](
    std::size&lowbar;t highWaterMark,
    xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

Create a container containing the elements in `&lsqb;begin &period;&period; end)&rsqb;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class INPUT&lowbar;ITER&gt;
xref:BloombergLP/bdlcc/Deque/2constructor-027.adoc[Deque](
    INPUT&lowbar;ITER begin,
    INPUT&lowbar;ITER end,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

Create a container from `&lsqb;begin &period;&period; end)&rsqb;` using `clockType`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class INPUT&lowbar;ITER&gt;
xref:BloombergLP/bdlcc/Deque/2constructor-0d.adoc[Deque](
    INPUT&lowbar;ITER begin,
    INPUT&lowbar;ITER end,
    xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

Create a container from `&lsqb;begin &period;&period; end)&rsqb;` with `highWaterMark`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class INPUT&lowbar;ITER&gt;
xref:BloombergLP/bdlcc/Deque/2constructor-06.adoc[Deque](
    INPUT&lowbar;ITER begin,
    INPUT&lowbar;ITER end,
    std::size&lowbar;t highWaterMark,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

Create a container from `&lsqb;begin &period;&period; end)&rsqb;` with mark and clock&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class INPUT&lowbar;ITER&gt;
xref:BloombergLP/bdlcc/Deque/2constructor-04.adoc[Deque](
    INPUT&lowbar;ITER begin,
    INPUT&lowbar;ITER end,
    std::size&lowbar;t highWaterMark,
    xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| allocator used to supply memory
| *clockType*
| clock type for timed wait operations
| *highWaterMark*
| maximum number of items before pushes block
| *original*
| container to copy
| *begin*
| beginning of the input range
| *end*
| end of the input range
|===


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