std::basic_fstream<CharT,Traits>::operator=
來自 cppreference.com
< cpp | io | basic_fstream
basic_fstream& operator=( basic_fstream&& other ); |
(C++11 起) | |
移動賦值檔案流 other 到 *this,有效地移動賦值 std::basic_iostream 基類和關聯的 std::basic_filebuf。
other 不再關聯任何檔案。注意,基類的移動賦值會交換 *this 和 other 之間所有流狀態變數(rdbuf 除外)。
目錄 |
[編輯] 引數
其他 | - | 要移動的檔案流 |
[編輯] 返回值
*this
[編輯] 示例
本節不完整 原因:無示例 |
[編輯] 參閱
(C++11) |
交換兩個檔案流 (public 成員函式) |
(C++11) |
賦值一個 basic_filebuf 物件( std::basic_filebuf<CharT,Traits> 的 public 成員函式) |
(C++11) |
移動賦值另一個basic_iostream (protected 成員函式) |