basic_fstream::swap
Exchanges the contents of two basic_fstream objects.
void swap(basic_fstream& _Right);
Parameters
- _Right
An lvalue reference to a basic_fstream object.
Remarks
The member function exchanges the contents of this object and the contents of _Right.
Requirements
Header: <fstream>
Namespace: std