std::swap(std::basic_istringstream)
From cppreference.com
< cpp | io | basic istringstream
| ヘッダ <sstream> で定義 |
||
| template< class CharT, class Traits, class Alloc > void swap( std::basic_istringstream<CharT,Traits,Alloc>& lhs, |
(C++11以降) | |
std::swap アルゴリズムの std::basic_istringstream のオーバーロード。 lhs の状態を rhs の状態と交換します。 効率的には lhs.swap(rhs) を呼び出します。
目次 |
[編集] パラメータ
| lhs, rhs | - | 状態を交換するストリーム |
[編集] 戻り値
(なし)
[編集] 例外
実装定義の例外をスローする場合があります。
[編集] 例
| このセクションは未完成です 理由: 例がありません |
[編集] 関連項目
| (C++11) |
2つの文字列ストリームをスワップする (public メンバ関数) |