Standard Template Library - STL C++
<bitset>
Overview
Description
The bitset class is a template class that holds a fixed number of bits that can be used as flags.
Classes
class bitset<N>
Members
Constructors
bitset()
Typedefs
element_type
Classes
reference
Description
- This reference class is a nested class within the bitset class that is used to access and operate on a single bit within the bitset. This class is not used directly; rather, reference objects are created by the [] operator.
Functions
all()
any()
count()
flip()
none()
operator<<()
operator>>()
operator<<=()
operator>>=()
operator==()
operator!=()
operator&=()
operator|=()
operator^=()
operator~()
operator[]()
reset()
set()
size()
test()
to_string()
to_ullong()
to_ulong()
Friends
operator|()
operator&()
operator^()
operator<<()
operator>>()