std::basic_fstream<CharT,Traits>::swap
提供: cppreference.com
< cpp | io | basic fstream
void swap( basic_fstream& other ); | (C++11以上) | |
ストリームの状態を other
と交換します。
これは basic_iostream<CharT, Traits>::swap(other) および rdbuf()->swap(other.rdbuf()) を呼ぶことによって行われます。
目次 |
[編集]引数
other | - | 状態を交換するストリーム |
[編集]戻り値
(なし)
[編集]例
This section is incomplete Reason: no example |
[編集]関連項目
(C++11) | ファイルストリームをムーブします (パブリックメンバ関数) |
(C++11) | 2つの basic_filebuf オブジェクトを入れ替えます ( std::basic_filebuf<CharT,Traits> のパブリックメンバ関数) |