#include <bitset> bitset<N>& reset(); bitset<N>& reset( size_t pos );
The reset() fucntion clears all of the bits in the bitset, and returns the bitset. If pos is specified, then only the bit at position pos is cleared.