Name

operator<< function template — Writes a bitset

Synopsis

template <typename charT, typename traits, size_t N>
  basic_ostream<charT, traits)& operator<<(basic_ostream<charT, traits)& in,
                                           const bitset<N>& x);

The << operator writes a bitset on an output stream, using the same format as the to_string member function.