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.
ios::operator void* ()
ios                                         Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  operator void* () const;
 
  Remarks
 
  An operator that converts a stream to a pointer that can be compared to
  0. The conversion returns 0 if either failbit or badbit is set in the
  stream's error state. See rdstate for a description of the error state
  masks. A nonzero pointer is not meant to be dereferenced.
 
  See Also
 
  ios::good, ios::fail
 
 
                                     -♦-