|
#expression \ |
|
)) { \ |
|
kassert::Logger<std::ostream&>(std::cerr) << message << "\n"; \ |
|
std::abort(); \ |
|
} \ |
|
KASSERT_KASSERT_HPP_DIAGNOSTIC_POP \ |
It would be nice to have the possibility to define a custom abortion function here. This may for example be used to wire stacktrace printing.
kassert/include/kassert/internal/assertion_macros.hpp
Lines 66 to 71 in e683aef
It would be nice to have the possibility to define a custom abortion function here. This may for example be used to wire stacktrace printing.