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

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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
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);
----

== Description

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;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *highWaterMark*
| maximum number of items before pushes block
| *clockType*
| clock type for timed wait operations
| *basicAllocator*
| allocator used to supply memory
|===


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