L
L
leftdima2018-03-04 16:04:41
C++ / C#
leftdima, 2018-03-04 16:04:41

Can this situation happen with exceptions?

I have a question: can it happen that the absolute catch(...) handler does not handle the exception for some reason (I don't know what) and abort() is called? Compiler version is not important

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2018-03-04
@leftdima

Yes, if you throw an exception from the destructor of an object that was called while
another exception was being handled.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question