名前空間
変種
操作

std::basic_ofstream<CharT,Traits>::operator=

From cppreference.com
< cpp‎ | io‎ | basic ofstream
 
 
 
 
basic_ofstream& operator=( basic_ofstream&& other );
(C++11以降)

ファイルストリーム other*this にムーブ代入します。これにより、std::basic_ostream 基底クラスと関連する std::basic_filebuf の両方が効果的にムーブ代入されます。

other は、関連付けられたファイルを持たない状態になります。基底クラスのムーブ代入では、*thisother の間で、すべてのストリーム状態変数(rdbuf を除く)が交換されることに注意してください。

目次

[編集] パラメータ

その他 - ムーブするファイルストリーム

[編集] 戻り値

*this

[編集]

[編集] 関連項目

(C++11)
2つのファイルストリームをスワップする
(public member function) [編集]
(C++11)
basic_filebuf オブジェクトを代入します
(std::basic_filebuf<CharT,Traits> の public メンバ関数) [編集]
(C++11)
他のbasic_ostreamからムーブ代入する
(protected member function) [編集]
English 日本語 中文(简体) 中文(繁體)