Boost logo

Boost Users :

Subject: Re: [Boost-users] [test] Unexpected Exceptions
From: Richard (legalize+jeeves_at_[hidden])
Date: 2009-11-20 18:00:36


[Please do not mail me a copy of your followup]

boost-users_at_[hidden] spake the secret code
<4B018783.7040603_at_[hidden]> thusly:

>What is the intended behavior of Boost.Test if an unexpected exception
>is thrown? Example:
>
> void do_not_throw() throw() {
> throw "unexpected";
> }

Should that really be decorated with throw()?

At any rate, I'd expect the test to fail.

-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
 <http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>
      Legalize Adulthood! <http://legalizeadulthood.wordpress.com>

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