delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/24/01:22:42

Mime-Version: 1.0
To: Paul Derbyshire <pderbysh AT usa DOT net>, djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: iostreams and error handling
Date: Thu, 23 Apr 1998 20:51:03 -0700
Message-ID: <19980424035042.AAI8293@ppp125.cartsys.com>

At 04:40  4/23/1998 GMT, Paul Derbyshire wrote:
>Can the iostream library be coerced to throw exceptions when there are I/O
>errors? If so, what exceptions will it throw, since there is nothing in the
>iostream info file about excpetions.
>
>If an iostream develops a fail or bad state, is there a method to get some sort
>of error number or other information? This, too, is not covered by the info
>file.

Sorry for the not-very-helpful response, but one thing you can certainly do
is to read the source. Hopefully, this will answer your questions.

>The iostream info file leaves a lot to be desired IMO.

I think you can anticipate the answer to that...

"You are welcome to write a better one."

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019