When an exception is thrown in C++, from what I understand is the stack starts unwinding and the destructors are called for each object in the functions as they are unwound.
- How is the exception handler found, how does it know where to stop unwinding?
- If the stack is unwinding how are the exceptions being passed down the stack?
Thank you