Iteration

  iterator       begin();
  const_iterator begin() const;

Returns an iterator referring to the first element in the bitvector. If the bitvector is empty, then returns an iterator equal to end().

Throws nothing.

  iterator       end();
  const_iterator end() const;

Returns an iterator referring to one past the last element in the bitvector. If the bitvector is empty, then returns an iterator equal to begin().

Throws nothing.

  reverse_iterator       rbegin();
  const_reverse_iterator rbegin() const;

  reverse_iterator       rend();
  const_reverse_iterator rend() const;  

Returns std::reverse_iterator's which operate over the range of the bitvector but in reverse order.

Throws nothing.