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.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.