[#bsl-bitset-operator_subs-07]
= xref:bsl.adoc[bsl]::xref:bsl/bitset.adoc[bitset]::operator&lsqb;&rsqb;
:relfileprefix: ../../
:mrdocs:

Return the value of the bit position at the specified `pos`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;bitset&period;h&gt;`

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

== Return Value

value of the bit at `pos`

== Parameters

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


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