std::basic_fstream::swap
提供: cppreference.com
< cpp | io | basic fstream
![]() | このページは、Google 翻訳を使って英語版から機械翻訳されました。 翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
void swap( basic_fstream& other ); | (C++11およびそれ以降) | |
交流
other
のものとストリームの状態. Original:
Exchanges the state of the stream with those of
other
. The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
これはbasic_istream<CharT, Traits>::swap(other)とrdbuf->swap(other->rdbuf)を呼び出すことで行われ.
Original:
This is done by calling basic_istream<CharT, Traits>::swap(other) and rdbuf->swap(other->rdbuf).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目次 |
[編集]パラメータ
other | - | と状態を交換するためのストリーム Original: stream to exchange the state with The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集]値を返します
(なし)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集]例
This section is incomplete Reason: no example |
[編集]も参照してください
(C++11) | ファイルストリームを移動します Original: moves the file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) |
(C++11) | スワップ2 basic_filebufオブジェクト Original: swaps two basic_filebuf objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数of std::basic_filebuf ) |