Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::basic_ostringstream::operator=

      From cppreference.com
      <cpp‎ |io‎ |basic ostringstream
       
       
       
       
      basic_ostringstream& operator=( basic_ostringstream&& other);
      (since C++11)

      Move assigns the string streamother to*this, effectively move-assigning both thestd::basic_ostream base class and the associatedstd::basic_stringbuf.

      Note that the base class move assignment swaps all stream state variables (except forrdbuf) between*this andother.

      Contents

      [edit]Parameters

      other - string stream to move from

      [edit]Return value

      *this

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      (C++11)
      swaps two string streams
      (public member function)[edit]
      (C++11)
      assigns abasic_stringbuf object
      (public member function ofstd::basic_stringbuf<CharT,Traits,Allocator>)[edit]
      (C++11)
      move-assigns from anotherbasic_ostream
      (protected member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/io/basic_ostringstream/operator%3D&oldid=160453"

      [8]ページ先頭

      ©2009-2025 Movatter.jp