Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 1999-07-09 21:00:09


> I have to admit, I find the suggestion (which Valentin doesn't like) about
> macro-ing out empty throw declarations interesting, because it would be one
> more debugging tool, if used a bit differently than the proposer intended.
> I'd enable the declarations during beta for QA to see if anything threw that
> shouldn't, fix the problems, and when they quit happening, macro out the
> empty declarations. Tie that to something like /NDEBUG, or a custom flag,
> and it should be pretty useful.

That's not stupid. A form of assert. Of course, QA is unlikely to stimulate
all possible throws.

-Dave

------------------------------------------------------------------------

eGroups.com home: http://www.egroups.com/group/boost
http://www.egroups.com - Simplifying group communications


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