fix fatal bugs, ready to inspect value processing

This commit is contained in:
2024-08-01 00:24:02 +00:00
parent 90bb66a182
commit d6e6498eee
11 changed files with 70 additions and 35 deletions

View File

@ -43,7 +43,8 @@ struct assert {
std::cerr << "Message: ";
((std::cerr << args), ...) << std::endl;
}
std::exit(EXIT_FAILURE);
// std::exit(EXIT_FAILURE);
throw std::runtime_error("Assertion failed");
}
#else
explicit assert(_Tp &&, _Args &&...) {}