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

Create a `ConstProctor` for the optionally specified `container`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
ConstProctor(xref:BloombergLP/bdlcc/Deque.adoc[Deque&lt;TYPE&gt;] const* container = 0);
----

== Description

Create a `ConstProctor` object to provide const access to the underlying `bsl&colon;&colon;deque` contained in the optionally specified `&ast;container`, locking `container`s mutex&period; If no `container` is specified, this object will be null&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *container*
| deque to lock and expose, or 0
|===


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