[#bitdeque-at-0b]
= xref:bitdeque.adoc[bitdeque]::at
:relfileprefix: ../
:mrdocs:

Access an element with bounds checking, throwing std&colon;&colon;out&lowbar;of&lowbar;range if out of bounds&period;

== Synopses

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

Access an element with bounds checking, throwing std&colon;&colon;out&lowbar;of&lowbar;range if out of bounds&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bitdeque/reference.adoc[reference]
xref:bitdeque/at-0e.adoc[at](xref:bitdeque/size_type.adoc[size&lowbar;type] position);
----

[.small]#xref:bitdeque/at-0e.adoc[_» more&period;&period;&period;_]#

Access an element with bounds checking, throwing std&colon;&colon;out&lowbar;of&lowbar;range if out of bounds&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bitdeque/const_reference.adoc[const&lowbar;reference]
xref:bitdeque/at-07.adoc[at](xref:bitdeque/size_type.adoc[size&lowbar;type] position) const;
----

[.small]#xref:bitdeque/at-07.adoc[_» more&period;&period;&period;_]#

== Return Value

* Mutable reference to the requested bit&period;
* Read&hyphen;only reference to the requested bit&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *position*
| Index of the bit to access&period;
|===


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