[#bitset_detail-IntBitSet-operator_subs]
= xref:bitset_detail.adoc[bitset&lowbar;detail]::xref:bitset_detail/IntBitSet.adoc[IntBitSet]::operator&lsqb;&rsqb;
:relfileprefix: ../../
:mrdocs:

Retrieve a bit at the given position&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
operator&lsqb;&rsqb;(unsigned int pos) const noexcept;
----

== Return Value

true if the bit at pos is set&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pos*
| The bit position to read&period;
|===


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