前一天我在面试中遇到这个问题.所以请指导我.
如果在c ++中从构造函数抛出异常,如何清理初始化资源?
c++ constructor memory-management
c++ ×1
constructor ×1
memory-management ×1