set
Syntax:
  #include <bitset>
  bitset<N>& set();
  bitset<N>& set( size_t pos, int val=1 );

The set() function sets all of the bits in the bitset, and returns the bitset. If pos is specified, then only the bit at position pos is set.