std::basic_streambuf<CharT,Traits>:: pbase, std::basic_streambuf<CharT,Traits>:: pptr, std::basic_streambuf<CharT,Traits>:: epptr
From cppreference.net
<
cpp
|
io
|
basic streambuf
C++
Input/output library
| I/O manipulators | ||||
| Print functions (C++23) | ||||
| C-style I/O | ||||
| Buffers | ||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(C++20)
|
||||
| Streams | ||||
| Abstractions | ||||
| File I/O | ||||
| String I/O | ||||
| Array I/O | ||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
| Synchronized Output | ||||
|
(C++20)
|
||||
| Types | ||||
| Error category interface | ||||
|
(C++11)
|
||||
|
(C++11)
|
std::basic_streambuf
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
protected
:
char_type * pbase ( ) const ; |
(1) | |
|
protected
:
char_type * pptr ( ) const ; |
(2) | |
|
protected
:
char_type * epptr ( ) const ; |
(3) | |
返回指向输出区域定义的指针。
1) 返回指向输出区域起始位置("基地址")的指针。
2) 返回指向输出区域中当前字符的指针( 放置指针 )。
3) 返回指向输出区域末尾后一个位置的指针。
目录 |
参数
(无)
返回值
1) 指向输出区域起始位置的指针。
2) 指向输出区域中当前字符的指针( 放置指针 )。
3) 指向放置区域末端之后一个元素的指针。
示例
|
本节内容不完整
原因:缺少示例 |
参见
|
返回指向获取区域起始位置、当前字符和末尾的指针
(受保护成员函数) |