Subscript operators
Synopses
Declared in <bslstl_bitset.h>
Return a reference to the modifiable bit position at the specified pos.
bitset<N>::reference
operator[](std::size_t pos);
Return the value of the bit position at the specified pos.
constexpr
bool
operator[](std::size_t pos) const;
Return Value
-
reference to the modifiable bit at
pos -
value of the bit at
pos
Parameters
Name |
Description |
pos |
index of the bit to access |
Created with MrDocs