std::basic_fstream<CharT,Traits>:: operator=
|
basic_fstream
&
operator
=
(
basic_fstream
&&
other
)
;
|
(C++11부터) | |
파일 스트림 other 를 * this 로 이동 할당하며, 이는 std::basic_iostream 베이스 클래스와 연관된 std::basic_filebuf 를 모두 효과적으로 이동 할당합니다.
other 는 연관된 파일이 없는 상태로 남게 됩니다. 기본 클래스의 이동 할당 연산자는 rdbuf 를 제외한 모든 스트림 상태 변수들을 * this 와 other 사이에서 교환합니다.
목차 |
매개변수
| 기타 | - | 이동할 파일 스트림 |
반환값
* this
예제
|
이 섹션은 불완전합니다
이유: 예제가 없음 |
참고 항목
|
(C++11)
|
두 파일 스트림을 교환
(public member function) |
|
(C++11)
|
basic_filebuf
객체를 할당
(
std::basic_filebuf<CharT,Traits>
의 public member function)
|
|
(C++11)
|
다른
basic_iostream
을 이동 할당
(protected member function) |