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

This class defines a proctor type that provides direct const access to the underlying `bsl&colon;&colon;deque` contained in a `Deque`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class ConstProctor;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlcc/Deque/ConstProctor/2constructor.adoc[`ConstProctor`]         [.small]#[constructor]#
| Create a `ConstProctor` for the optionally specified `container`&period;
| xref:BloombergLP/bdlcc/Deque/ConstProctor/2destructor.adoc[`&#126;ConstProctor`] [.small]#[destructor]#
| Destroy this proctor and unlock its associated `Deque`&period;
| xref:BloombergLP/bdlcc/Deque/ConstProctor/isNull.adoc[`isNull`] 
| Return `true` if this object is not associated with a `Deque` object&period;
| xref:BloombergLP/bdlcc/Deque/ConstProctor/load.adoc[`load`] 
| Attach this proctor to the specified `container`&period;
| xref:BloombergLP/bdlcc/Deque/ConstProctor/operator_star.adoc[`operator&ast;`] 
| Return a reference to the `bsl&colon;&colon;deque` managed by this `Proctor` object&period; The behavior is undefined if this `ConstProctor` has been released&period;
| xref:BloombergLP/bdlcc/Deque/ConstProctor/operator_ptr.adoc[`operator&hyphen;&gt;`] 
| Return a pointer to the `bsl&colon;&colon;deque` contained in the `Deque` managed by this object&period; The behavior is undefined if this `ConstProctor` has been released&period;
| xref:BloombergLP/bdlcc/Deque/ConstProctor/operator_subs.adoc[`operator&lsqb;&rsqb;`] 
| Return a non&hyphen;modifiable reference to the element at `position`&period;
| xref:BloombergLP/bdlcc/Deque/ConstProctor/release.adoc[`release`] 
| Release this proctor without destroying it&period; Afterward the destructor will have no effect&period; This may be called multiple times&semi; only the first call has any effect&semi;
|===



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