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