Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-07-22 09:06:20


Daniel Spangenberg wrote:
>
> 2) For what kind of errors should be BOOST_ASSERT for?

For situations where the specification says "undefined behavior" but the
implementation can detect the problem.

Throwing an exception is sometimes an acceptable form of "undefined
behavior". Not often, of course. But sometimes.


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