Regarding the completion handler,
As I understand it, when something bad happens in the code, for example, when we donβt catch the exception,
Calledterminate (), which in turn causes an interrupt ()
set_terminate (my_function) allows us to get terminate () to call the user-specified function my_terminate.
my question is: where do these functions "live", they do not seem to be part of the language, but work as if they are present in each individual cpp file, without having to include any header file.
source
share