From cppreference.com
voidinvoke_default_contract_violation_handler(conststd::contracts::contract_violation&violation);(since C++26)Invokes the default
with violation as the argument.
Parameters
violation - the object holding the information of the contract violation currently being handled Notes
Since objects of type std::contracts::contract_violation cannot be constructed or copied by the user, this function can only be called only during the execution of a user-defined contract-violation handler, where violation refers to the same object as the parameter of the user-defined handler.
This function is useful if the user wishes to fall back to the default contract-violation handler after having performed some custom action (such as additional logging).