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;
  using streambuf  = basic_streambuf<char>;
  using wstreambuf = basic_streambuf<wchar_t>;
}

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