Namespaces
Variants

std::basic_stringstream:: operator=

From cppreference.net
basic_stringstream & operator = ( basic_stringstream && other ) ;
(C++11부터)

문자열 스트림 other * this 로 이동 할당하며, 이는 std::basic_iostream 베이스 클래스와 연관된 std::basic_stringbuf 모두를 효과적으로 이동 할당합니다.

기본 클래스의 이동 할당 연산자는 rdbuf 를 제외한 모든 스트림 상태 변수를 * this other 사이에서 교환한다는 점에 유의하십시오.

목차

매개변수

other - 이동할 string stream

반환값

* this

예제

참고 항목

(C++11)
두 개의 string stream을 교환
(public member function)
(C++11)
basic_stringbuf 객체를 할당
( std::basic_stringbuf<CharT,Traits,Allocator> 의 public member function)
(C++11)
다른 basic_iostream 을 이동 할당
(protected member function)