[Iostreams] stream<file_sink> does not throw an exception and not set fail/bad bits when file is wrong

Hello!
I'm trying to write some content to a new file using
boost::stream

On 2/8/2010 1:52 AM, Mariusz Wojtysiak wrote:
I cannot believe that boost::iostreams has such obvious bug and just ignore failures! I have to do something wrong. But what?
You don't mention what version of Boost you are using? While I dont know if will make a difference to your specific case, I know that a number of iostreams bug fixes made it into the latest Boost 1.42 release, including some related to throwing of exceptions. For details see: http://www.boost.org/doc/libs/1_42_0/libs/iostreams/doc/release_notes.html If your problem was tested against Boos 1.42, I would suggest, at minimum, entering a new ticket at: https://svn.boost.org/trac/boost/

On 10 Lut, 19:21, eg
On 2/8/2010 1:52 AM, Mariusz Wojtysiak wrote: You don't mention what version of Boost you are using?
I used Boost 1.40. But also tested with 1.42 and problem stil exists.
If your problem was tested against Boos 1.42, I would suggest, at minimum, entering a new ticket at:https://svn.boost.org/trac/boost/
I created new ticket: https://svn.boost.org/trac/boost/ticket/3935 Mariusz
participants (2)
-
eg
-
Mariusz Wojtysiak