filebuf error handling

Andriy Rysin avrysin@ibscorp.com
Sun Jul 1 13:38:00 GMT 2001


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



More information about the Libstdc++ mailing list