名前空間
変種
操作

std::basic_ostringstream::operator=

提供: cppreference.com
 
 
 
 
basic_ostringstream& operator=( basic_ostringstream&& other );
(C++11以上)

文字列ストリーム other*this にムーブ代入します。 実質的に std::basic_ostream 基底クラスと紐付けられている std::basic_stringbuf の両方をムーブ代入します。

基底クラスのムーブ代入は (rdbuf を除いた) すべての状態変数を *thisother の間でスワップすることに注意してください。

目次

[編集]引数

other - ムーブする文字列ストリーム

[編集]戻り値

*this

[編集]

[編集]関連項目

(C++11)
2つの文字列ストリームを入れ替えます
(パブリックメンバ関数)[edit]
(C++11)
basic_stringbuf オブジェクトを代入します
(std::basic_stringbuf<CharT,Traits,Allocator>のパブリックメンバ関数)[edit]
(C++11)
別の basic_ostream からムーブ代入します
(プロテクテッドメンバ関数)[edit]
close