|
Boost : |
From: John Maddock (john_maddock_at_[hidden])
Date: 2002-04-10 05:55:20
> What about an assertion?
An assertion is almost what we want, but we have to be sure that it is
always turned on (this isn't a debugging tool, it's a run time error
trapping tool). The only way to do that portably is with our own macro
(that aborts on error), assert may not have any effect, and we also may want
to use "real" assertions in our code as well as these run time checks in
place of exceptions.
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk