阅读背景:

当我“扔”东西时,它存储在记忆的什么地方?

来源:互联网 

I understand that when something is thrown, the stack is 'unwound' to the point where it is caught, and the destructors of class instances on the stack in each function context are run (which is why you should not throw an exception from a destructor - you could end up throwing a second one)...but I wonder where in memory the object that I have thrown is stored while this happens?n, the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: