[#bitset_detail-IntBitSet-operator_subs] = xref:bitset_detail.adoc[bitset_detail]::xref:bitset_detail/IntBitSet.adoc[IntBitSet]::operator[] :relfileprefix: ../../ :mrdocs: Retrieve a bit at the given position. == Synopsis Declared in `<util/bitset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool operator[](unsigned int pos) const noexcept; ---- == Return Value true if the bit at pos is set. == Parameters [cols="1,4"] |=== | Name| Description | *pos* | The bit position to read. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#