This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
filebuf error handling
- To: libstdc++ at gcc dot gnu dot org
- Subject: filebuf error handling
- From: Andriy Rysin <avrysin at ibscorp dot com>
- Date: Sun, 01 Jul 2001 13:34:48 -0700
Hi!
I've just read that for binary io it's better to use 'filebuf' instead of
'std::iostream::read/write'. Can any body tell me how to handle errors with
filebuf? I am goona miss all those nice ios::goof()/bad()/fail() functions.
Thanks,
Andriy