|
noexcept |
Upon a call, if NDEBUG
macro is not defined, prints out a message composed from two strings, and an integer, and calls std::abort. If NDEBUG
is defined, the function does nothing.
[in] | file | The first string. This is supposed to be a file path in which a runtime constrained violation has been detected by verify_security_constraint. |
line | The integer which is supposed to be a line, on which the offending invoking of verify_security_constraint is located within the file. | |
[in] | func | The second string which is supposed to be a name of a function with the offending expression. |
The function can be set up to react on runtime-constraint violations detected by verify_security_constraint using set_thread_security_constraint_violation_procedure.
Unlike security_constraint_verification_proc, the function terminates (and prints out the message) only when the NDEBUG
macro is not set.