Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::basic_stringstream::operator=

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

      Move assigns the string streamother to*this, effectively move-assigning both thestd::basic_iostream 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 anotherbasic_iostream
      (protected member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/io/basic_stringstream/operator%3D&oldid=43406"

      [8]ページ先頭

      ©2009-2025 Movatter.jp