Shows how to use debug::cassert method.
#include <xtd/diagnostics/debug>
#include <xtd/console>
auto main() -> int {
auto index = 0;
}
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
static void cassert(bool condition, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Checks for a condition; if the condition is false, displays a message box that shows the call stack.
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition assert_dialog_result.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8