Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

throw during stack unwind

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1,64 sec, absolute running time: 0,35 sec, absolute service time: 2 sec 
fork mode |  history
Error(s):
Process exit code is not 0: 1
a[0] at 00EFFEF4  a[1] at 00EFFEF5
destructor of a[1] is called first, and it throws
stack unwind should call the destructor of a[0], which too throws
resulting in terminate being called
-----------------------------------

destructor of object at 00EFFEF5 throws (there is no stack unwind in progress)
destructor of object at 00EFFEF4 throws (there is no stack unwind in progress)
*** terminate is called ***

    
                
λ
.NET NoSQL database for rapid development