From: Philippe Vaucher (philippe.vaucher_at_[hidden])
Date: 2007-04-11 06:21:36
Sorry, forgot to attach the file :)
boost::iostream's documentation says when we write a device, we are allowed
to throw in the read() or write() function to report an error.
But unfortunately when I do that, it looks like the exception is caught
silently, and -1 is returned.
I couldn't find where that was done in boost::iostream (the only exception
silently caught are when you .close() the stream).
I'm starting to suspect it's mingw that does it or something.
Here attached is a testcase to reproduce the problem, here's the output I
C:\Dev-Cpp\Projects\test>g++ foo.cpp -o foo
testing streambuf_test... works !
testing boost::iostream... failed !
Thank you for your help.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk