다음을 통해 공유


basic_ifstream::operator=

Assigns the content of this stream object. This is a move assignment involving an rvalue that does not leave a copy behind.

basic_ifstream& operator=(
    basic_ifstream&& _Right
);

매개 변수

  • _Right
    An rvalue reference to a basic_ifstream object.

반환 값

*this를 반환합니다.

설명

The member operator replaces the contents of the object by using the contents of _Right, treated as an rvalue reference. 자세한 내용은 Lvalue 및 Rvalue을 참조하십시오.

요구 사항

Header: <fstream>

네임스페이스: std

참고 항목

참조

basic_ifstream 클래스

<fstream>

Lvalue 및 Rvalue

iostream 프로그래밍

iostreams 규칙

기타 리소스

basic_ifstream 멤버

<fstream> 멤버