다음을 통해 공유


basic_fstream::swap

Exchanges the contents of two basic_fstream objects.

void swap(basic_fstream& _Right);

매개 변수

  • _Right
    An lvalue reference to a basic_fstream object.

설명

The member function exchanges the contents of this object and the contents of _Right.

요구 사항

Header: <fstream>

네임스페이스: std

참고 항목

참조

basic_fstream 클래스

<fstream>

Lvalue 및 Rvalue

iostream 프로그래밍

iostreams 규칙

기타 리소스

basic_fstream 멤버

<fstream> 멤버