[#BloombergLP-bdlcc-Deque-ConstProctor-operator_subs]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Deque.adoc[Deque]::xref:BloombergLP/bdlcc/Deque/ConstProctor.adoc[ConstProctor]::operator&lsqb;&rsqb;
:relfileprefix: ../../../../
:mrdocs:

Return a non&hyphen;modifiable reference to the element at `position`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
TYPE const&
operator&lsqb;&rsqb;(xref:BloombergLP/bdlcc/Deque/ConstProctor.adoc[size&lowbar;type] position) const;
----

== Description

Return a reference providing non&hyphen;modifiable access to the element at the specified `position` in the `bsl&colon;&colon;deque` held by this proctor&period; The behavior is undefined unless `position &lt; size` where `size` is the number of elements in that deque&period;

== Return Value

a non&hyphen;modifiable reference to the element at `position`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *position*
| zero&hyphen;based index of the element
|===


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