ostrstream::rdbuf

返回指向流关联的 strstreambuf 对象。

strstreambuf *rdbuf( ) const

返回值

与流关联的 strstreambuf 对象的指针。

备注

成员函数返回 指针 类型存储缓冲区的流的地址为 strstreambuf

示例

使用 rdbuf的示例参见 strstreambuf::pcount

要求

页眉: <strstream>

命名空间: std

请参见

参考

ostrstream 类

iostream 编程

iostreams 约定