Standard C++ Library Reference ISO/IEC (VERSION3)
Next
<streambuf>
Include the iostreams standard header <streambuf> to define template class
basic_streambuf, which is basic to the operation of the iostreams classes. (This header is
typically included for you by another of the iostreams headers. You seldom have occasion to
include it directly.)
namespace std {
template<class Elem, class Tr = char_traits<Elem> >
class basic_streambuf;
typedef basic_streambuf<char, char_traits<char> >
streambuf;
typedef basic_streambuf<wchar_t,
char_traits<wchar_t> > wstreambuf;
};
basic_streambuf
basic_streambuf · char_type · eback · egptr · epptr · gbump ·
getloc · gptr · imbue · in_avail · int_type · off_type ·
overflow · pbackfail · pbase · pbump · pos_type · pptr ·
pubimbue · pubseekoff · pubseekpos · pubsetbuf · pubsync ·
sbumpc · seekoff · seekpos · setbuf · setg · setp · sgetc ·
sgetn · showmanyc · snextc · sputbackc · sputc · sputn · stossc
· sungetc · sync · traits_type · uflow · underflow · xsgetn ·
xsputn
template <class Elem, class Tr = char_traits<Elem> >
class basic_streambuf {
public:
typedef Elem char_type;
typedef Tr traits_type;
typedef typename traits_type::int_type int_type;
typedef typename traits_type::pos_type pos_type;
typedef typename traits_type::off_type off_type;
virtual ~streambuf();