共用方式為


streambuf

A specialization of basic_streambuf that uses char as the template parameters.

typedef basic_streambuf<char, char_traits<char> > streambuf;

Remarks

The type is a synonym for the template class basic_streambuf, specialized for elements of type char with default character traits.

Requirements

Header: <streambuf>

Namespace: std

See Also

Reference

iostream Programming

iostreams Conventions