From: Jeff Garland (jeff_at_[hidden])
Date: 2001-03-17 21:26:22
> > Just as a point of reference, I don't think there are any
> > C++ standard library implementations that take the assert
> > approach.
> STLport in debug mode. I think you can configure it to throw exceptions,
> too, but I'm not sure. Assertions are the default.
Right, it is user configurable, which I guess is what you were suggesting
From the STLPort _site_config.h file:
* Uncomment this to force all failed assertions to be executed through
* user-defined global function:
* void __stl_debug_terminate(void). This allows
* you to take control of assertion behaviour for debugging purposes.
* Default routine throws unique exception if __STL_USE_EXCEPTIONS is set,
* calls abort() otherwise.
* Note : If you set this macro, you must supply __stl_debug_terminate
* function definition somewhere.
There are some other options for debugging as well. You can read all
about it below at
I would be an advocate of this type of approach for boost.threads.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk