Shows how to use debug::cassert method.
#include <xtd/diagnostics/debug>
#include <xtd/console>
auto main() -> int {
auto index = 0;
console::write_line("Start application");
debug::cassert(index > 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