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

Subscript operators

== Synopses

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

Return a `reference` to the modifiable bit position at the specified `pos`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/bitset/reference.adoc[bitset&lt;N&gt;::reference]
xref:bsl/bitset/operator_subs-0a.adoc[operator&lsqb;&rsqb;](std::size&lowbar;t pos);
----

[.small]#xref:bsl/bitset/operator_subs-0a.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
xref:bsl/bitset/operator_subs-07.adoc[operator&lsqb;&rsqb;](std::size&lowbar;t pos) const;
----

[.small]#xref:bsl/bitset/operator_subs-07.adoc[_» more&period;&period;&period;_]#


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