Boost logo

Boost :

From: Frank Birbacher (bloodymir.crap_at_[hidden])
Date: 2007-09-10 09:17:55


Hi!

David Abrahams schrieb:
> on Tue Sep 04 2007, Frank Birbacher <bloodymir.crap-AT-gmx.net> wrote:
>
>> The most anoying point is the following case:
>> 1. construct stream with custom streambuf
>> 2. _NO_ exceptions enabled
>> 3. provoke exception
>> result: Nothing. Neither is the exception propagated nor is the fail or
>> badbit set. That is a serious bug IMHO.
>
> In what code?

Hmm, the original file_descriptor code raised an exception in its write
function. The error didn't show up because of the behaviour described
above. This was the hard to find bug in my program. In an attempt to
show the error I wrote some test cases. This test suite spit a couple of
errors out and I didn't realize the original problem/bug didn't actually
show there.

I jsut reproduced the original error and I'll try to figure out how to
express this in a test case. Anyway the other failing test cases are
also pointing out some misbehaviour of the standard library, I think.
Definately something to look at.

Frank


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk