The Microsoft Input/Output Stream Classes (iostream.hlp) (Table of Contents; Topic list)
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
 
 
                                     -♦-