The <bitset> include file defines the bitset class, which uses a set of bits that can used as flags.
class bitset<N>
operator|()
operator&()
operator^()
operator<<()
operator>>()