void swap( basic_ofstream& other );
Exchanges the state of the stream with those of
This is done by calling basic_ostream<CharT, Traits>::swap(other) and rdbuf()->swap(other.rdbuf()).
|other||-||stream to exchange the state with|
 Return value
May throw implementation-defined exceptions.
|This section is incomplete|
Reason: no example
 See also
| moves the file stream |
(public member function)
| swaps two basic_filebuf objects |
(public member function of