If we throw a pointer to a local object and the handler is in another function, then the object to which the pointer points will no longer exist when the handler is executed.

 
  • 如果抛出指向局部对象的指针,而且处理代码在另一函数中,则执行处理代码时指针所指向的对象将不再存在。
今日热词
目录 附录 查词历史