[#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 a container of objects of (template parameter) `TYPE`, with no high water mark, and use the specified `clockType` to indicate the epoch used for all time intervals (see &lcub;Supported Clock&hyphen;Types&rcub; in the component documentation)&period; If `basicAllocator` is 0, the currently installed default allocator is used&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;_]#

Same as the preceding overload, using the specified `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 a container of objects of (template parameter) `TYPE`, with the specified `highWaterMark`, and use the specified `clockType` to indicate the epoch used for all time intervals (see &lcub;Supported Clock&hyphen;Types&rcub; in the component documentation)&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 `highWaterMark &gt; 0`&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 the specified `original` object&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&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;_]#

Same as the preceding overload, using the specified `clockType` for timed operations&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 of objects of (template parameter) `TYPE` containing the sequence of elements in the specified range `&lsqb;begin &period;&period; end)&rsqb;`, having no high water mark, and use the specified `clockType` to indicate the epoch used for all time intervals (see &lcub;Supported Clock&hyphen;Types&rcub; in the component documentation)&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period; Note that the items in the range are treated as `const` objects, copied without being modified&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;_]#

Same as the preceding overload, using the specified `clockType` for timed operations&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 of objects of (template parameter) `TYPE` containing the sequence of `TYPE` values in the specified range `&lsqb;begin &period;&period; end)&rsqb;` having the specified `highWaterMark`, and use the specified `clockType` to indicate the epoch used for all time intervals (see &lcub;Supported Clock&hyphen;Types&rcub; in the component documentation)&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 `highWaterMark &gt; 0`&period; Note that if the number of elements in the range `&lsqb;begin, end)&rsqb;` exceeds `highWaterMark`, the effect will be the same as if the extra elements were added by forced pushes&period; Also note that the items in the range are treated as `const` objects, copied without being modified&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;_]#


[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;_]#


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