共用方式為


basic_streambuf::operator=

從另一個指派的值,這個物件的basic_streambuf物件。

basic_streambuf& operator=(
    const basic_streambuf& _Right
);

參數

  • _Right
    左值參考basic_streambuf用來將值指派給這個物件的物件。

屬性值/傳回值

傳回 * 這。

備註

受保護的成員運算子會從複製_Right控制輸入的緩衝區和輸出緩衝區的指標。 It also stores _Right.getloc() in the locale object. 它會傳回*this。

需求

標頭: <streambuf>

Namespace: 標準

請參閱

參考

basic_streambuf Class

<streambuf>

iostream 程式設計

iostreams 慣例

其他資源

basic_streambuf 成員

<streambuf> 成員