名前空間
変種
操作

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

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

ファイルストリームother*thisにムーブ代入します。これにより、std::basic_iostream基底クラスと関連付けられた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_iostreamをムーブ代入します
(protected member function) [編集]
English 日本語 中文(简体) 中文(繁體)