[C++-sig] C++ assertion

Simon Wood sgwoodjr at gmail.com
Tue Mar 6 14:46:20 CET 2007


>
> The latter. An assertion is just that. It asserts a certain statement
> to be true, else aborts the running process. (If an assertion is false
> your program is likely to be in an invalid state, so there is no point
> continuing.)
> If you want something else you may consider throwing an exception.
>
> Regards,
>                 Stefan
>
>
This is more or less what I figured to be true. Thanks for the confirmation.

-Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20070306/116a80d1/attachment.htm>


More information about the Cplusplus-sig mailing list