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

throwing Copyable versus throwing MoveOnly

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1,4 sec, absolute running time: 0,32 sec, absolute service time: 1,74 sec 
edit mode |  history  | discussion
Throwing an exception of type struct Copyable...
 creating
Found the catch block.
Now calling current_exception...
 copying
Now calling rethrow_exception...
 copying
Found the next catch block.
 destroying
 destroying
Now setting ex to nullptr...
 destroying
Now exiting main()

    
                
λ
.NET NoSQL database for rapid development