The Microsoft Input/Output Stream Classes (iostream.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
fstream::~fstream
fstream                                     Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  ~fstream();
 
  Remarks
 
  Flushes the buffer, then destroys an fstream object, along with its
  associated filebuf object. The file is closed only if it was opened by
  the constructor or by the open member function.
 
  The filebuf destructor releases the reserve buffer only if it was
  internally allocated.
 
 
                                     -♦-