[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PROGRAMMING: C++ ios::failure class - ?




On Tue, 7 Dec 1999, Boaz Rymland wrote:

> Well, I'm playing here with a small program that's using the standard
> ANSI C++ exception (nested) class - ios::failure (or am I wrong here?).

when one wants to use 'standard ANSI C++', one needs to realize that up
until now, it looks like _NO_ compiler supports the full ANSI/ISO C++
standard. thus, do NOT be surprised to find features missing in various
versions of various compilers, including egcs (which is what probably
comes with RH 6.1).

since you looked for the class in the 'h' files, and it is not there -
then it is simply not supported in that version of the compiler. accept
this fact, and give up on using exceptions in this case (which is IMHO a
good idea in general).

guy


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il