[#BloombergLP-bdlc-BitArray-operator_subs]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::operator&lsqb;&rsqb;
:relfileprefix: ../../../
:mrdocs:

Return the value of the bit at the specified `index` in this array&period; The behavior is undefined unless `index &lt; length()`&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;bitarray&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
operator&lsqb;&rsqb;(std::size&lowbar;t index) const;
----

== Return Value

value of the bit at `index`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *index*
| bit position to read
|===


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