basic_istream::swap
Exchanges the contents of two basic_istream objects.
void swap(basic_istream& _Right);
Parameters
- _Right
An lvalue reference to a basic_istream object.
Remarks
The member function calls basic_ios::swap(_Right). It also exchanges the extraction count with the extraction count for _Right.
Requirements
Header: <istream>
Namespace: std