Shows how to use trace::cassert_ method.
#define TRACE
#include <xtd/diagnostics/trace>
#include <xtd/console>
auto main() -> int {
auto index = 0;
console::write_line("Start application");
trace::cassert(index > 0, "index must be greater than 0");
console::write_line("End application");
}
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 xtd_about_box.hpp:10