名前空間
変種
操作

std::swap(std::basic_ostringstream)

提供: cppreference.com
 
 
 
 
template<class CharT, class Traits, class Alloc >

void swap(std::basic_ostringstream<CharT,Traits,Alloc>& lhs,

           std::basic_ostringstream<CharT,Traits,Alloc>& rhs );

std::swap アルゴリズムを std::basic_ostringstream に対して特殊化します。 lhsrhs の状態を交換します。 実質的に lhs.swap(rhs) を呼びます。

目次

[編集]引数

lhs, rhs - 状態を入れ替えるストリーム

[編集]戻り値

(なし)

[編集]例外

(なし)

[編集]

[編集]関連項目

(C++11)
2つの文字列ストリームを入れ替えます
(パブリックメンバ関数)[edit]
close