protected member function
<streambuf> <iostream>
Pointer to beginning of output sequence
Returns a pointer to the first element of the array with the portion of the controlled output sequence that is currently buffered.
成員函式可以直接訪問此陣列;它由以下受保護成員函式返回的指標描述:
成員 | 描述 |
pbase() | 輸出序列緩衝部分的開頭 |
pptr() | 輸出序列中的當前位置(*"put pointer"*) |
epptr() | 輸出序列緩衝部分的結尾 |
返回值
A pointer to the beginning of an array with the part of the controlled output sequence that is currently buffered.
資料競爭
訪問流緩衝區物件。
對同一流緩衝區物件的併發訪問可能導致資料競爭。
異常安全
強保證:如果丟擲異常,流緩衝區將不會發生任何更改。