C++ basic_streambuf 庫 - pptr



描述

它用於指向輸出序列的當前位置,並返回一個指向受控輸出序列的當前元素(即“put 指標”)的指標。

宣告

以下是 std::basic_streambuf::pptr 的宣告。

char_type* pptr() const;

引數

返回值

它返回一個指向受控輸出序列中當前元素的指標。

異常

強保證 - 如果丟擲異常,流緩衝區沒有任何更改。

資料競爭

它訪問流緩衝區物件。

streambuf.htm
廣告
© . All rights reserved.