Exception handling before and after main

后端 未结 4 751
再見小時候
再見小時候 2021-02-15 17:52

Is it possible to handle exceptions in these scenarios:

  1. thrown from constructor before entering main()
  2. thrown from destructor after leaving main()
4条回答
提交回复
热议问题