Boost logo

Boost :

From: Daryle Walker (dwalker07_at_[hidden])
Date: 2003-06-16 22:36:32


While writing some other code, I checked out how some of the macros in
Boost.Test are implemented. The BOOST_CHECK_THROW and
BOOST_CHECK_EXCEPTION macros flag when an intentional exception was
missed and when the expected exception type was caught. But what about
when an exception of the _wrong_ type is thrown. Shouldn't there be a
catch(...) that notes that the wrong type was caught and re-throws the
error?

Daryle


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