Namespaces
Variants

std::basic_ostringstream:: operator=

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

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

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

목차

매개변수

other - 이동할 문자열 스트림

반환값

* this

예제

참고 항목

(C++11)
두 개의 문자열 스트림을 교환
(public member function)
(C++11)
basic_stringbuf 객체를 할당
( std::basic_stringbuf<CharT,Traits,Allocator> 의 public member function)
(C++11)
다른 basic_ostream 으로부터 이동 할당
(protected member function)