bitset::reset

bitset<N>& reset();
bitset<N>& reset(size_t pos);

The first member function resets all bits in the bit sequence, then returns *this. The second member function throws out_of_range if size() <= pos. Otherwise, it resets the bit at position pos, then returns *this.