Boost logo

Boost Users :

Subject: Re: [Boost-users] [Iostreams] stream<file_sink> does not throw an exception and not set fail/bad bits when file is wrong
From: eg (egoots_at_[hidden])
Date: 2010-02-10 13:21:34


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/


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net