Logo Search packages:      
Sourcecode: libdbg version File versions  Download package

This enum type describes what happens when a debugging assertion fails. The behaviour can be:

  • assertions_abort - Assertions cause a program abort
  • assertions_throw - Assertions cause a dbg_exception to be thrown
  • assertions_continue - Assertions cause the standard diagnostic printout to occur (the same as the above behaviours) but execution continues regardless
The dbg library defaults to assertions_abort behaviour, like the standard C assert.

See also:
dbg::set_assertion_behaviour

Definition at line 353 of file dbg.h.

    {
        assertions_abort,
        assertions_throw,
        assertions_continue
    };


Generated by  Doxygen 1.6.0   Back to index