failed

Reports a failure in writing.

  bool failed() const throw();
  
Remarks

The bool false value is returned if a write failure occurs.