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