xtd 0.2.0
Loading...
Searching...
No Matches

◆ cassert() [6/6]

static void xtd::diagnostics::debug::cassert ( bool  condition,
const xtd::diagnostics::stack_frame stack_frame 
)
static

Checks for a condition; if the condition is false, displays a message box that shows the call stack.

Parameters
conditionThe conditional expression to evaluate. If the condition is true, a failure message is not sent and the message box is not displayed.
stack_frameThe stack frame corresponding to the generated assert.