std::istrstream::str
来自 cppreference.cn
< cpp | io | istrstream
char* str(); |
(C++98 起弃用) (C++26 中移除) |
|
返回缓冲区的起始指针,并在返回前冻结缓冲区。实际上调用 rdbuf()->str()。
[编辑] 参数
(无)
[编辑] 返回值
指向相关联的 std::strstreambuf 中缓冲区的起始指针,如果缓冲区不可用则为 null 指针。
[编辑] 示例
本节不完整 原因:无示例 |