Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-02-13 17:16:38


williamkempf_at_[hidden] wrote:
> I've been thinking a bit about the desire for catch_exceptions() to
> be able to handle "registered" exception types

[ Lots of explanation removed. ]

> Any thoughts or comments on the idea?

This looks interesting. However, I believe we should consider
this only after having initially released the boost test library
and after someone actually writing tests comes up with a need for
it. Usually, I'd expect the ex.what() string to be sufficiently
descriptive. Except for some standard library implementations where
std::bad_alloc::what() is always the empty string. But we do handle
all standard exceptions explicitly already, so that point is moot.

Jens Maurer


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