Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-11-22 14:20:07


Peter Dimov wrote:

> [...]
> My answer is that specifying the precise semantics of what() for every
> documented exception type is a necessary prerequisite. (Implies that
> the standard needs to be fixed, too.)
> [...]

Would it be worthwhile to define a different member function (possibly
in a std::exception-derived boost_exception) that returns the precisely
specified key that you desire (rather than changing the requirements for
what())? Perhaps boost_exception.key()?

Dave


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