다음을 통해 공유


basic_istream::swap

Exchanges the contents of two basic_istream objects.

void swap(basic_istream& _Right);

매개 변수

  • _Right
    An lvalue reference to a basic_istream object.

설명

The member function calls basic_ios::swap(_Right). It also exchanges the extraction count with the extraction count for _Right.

요구 사항

Header: <istream>

네임스페이스: std

참고 항목

참조

basic_istream 클래스

basic_iostream 클래스

<istream>

Lvalue 및 Rvalue

기타 리소스

basic_istream 멤버

basic_iostream 멤버

<istream> 멤버