[#bitdeque-2constructor-03]
= xref:bitdeque.adoc[bitdeque]::bitdeque
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;util&sol;bitdeque&period;h&gt;`

Construct an empty container&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:bitdeque/2constructor-00d.adoc[bitdeque]();
----

[.small]#xref:bitdeque/2constructor-00d.adoc[_» more&period;&period;&period;_]#

Copy constructor&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bitdeque/2constructor-007.adoc[bitdeque](xref:bitdeque.adoc[bitdeque] const& other) = default;
----

[.small]#xref:bitdeque/2constructor-007.adoc[_» more&period;&period;&period;_]#

Move constructor&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bitdeque/2constructor-06.adoc[bitdeque](xref:bitdeque.adoc[bitdeque]&& other) noexcept = default;
----

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

Construct a container containing count false values&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:bitdeque/2constructor-010.adoc[bitdeque](size&lowbar;t count);
----

[.small]#xref:bitdeque/2constructor-010.adoc[_» more&period;&period;&period;_]#

Construct a container containing the bits in ilist&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bitdeque/2constructor-08.adoc[bitdeque](std::initializer&lowbar;list&lt;bool&gt; ilist);
----

[.small]#xref:bitdeque/2constructor-08.adoc[_» more&period;&period;&period;_]#

Construct a container containing count times the value of val&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bitdeque/2constructor-019.adoc[bitdeque](
    xref:bitdeque/size_type.adoc[size&lowbar;type] count,
    bool val);
----

[.small]#xref:bitdeque/2constructor-019.adoc[_» more&period;&period;&period;_]#

Construct a container containing the bits in &lsqb;first,last)&period;&rsqb;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename It&gt;
xref:bitdeque/2constructor-0d.adoc[bitdeque](
    It first,
    It last);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| Container to copy from&period;
| *count*
| Number of false bits in the new container&period;
| *ilist*
| Initializer list of bit values to copy&period;
| *val*
| Value assigned to every bit&period;
| *first*
| Iterator to the first bit to copy&period;
| *last*
| Iterator past the last bit to copy&period;
|===


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