basic_ifstream::swap
Exchanges the contents of two basic_ifstream objects.
void swap(
basic_ifstream& _Right
);
Parameters
- _Right
A reference to another stream buffer.
Remarks
The member function exchanges the contents of this object for the contents of _Right.
Requirements
Header: <fstream>
Namespace: std