27 Input/output library [input.output]

27.6 Stream buffers [stream.buffers]

27.6.1 Overview [stream.buffers.overview]

Header <streambuf> synopsis

namespace std {
  template <class charT, class traits = char_traits<charT> >
    class basic_streambuf;
  typedef basic_streambuf<char>     streambuf;
  typedef basic_streambuf<wchar_t> wstreambuf;
}

The header <streambuf> defines types that control input from and output to character sequences.