Obj *op = new Obj;
Obj *op2 = op;
delete op;
delete op2; // What happens here?
如果您不小心进行两次删除,最糟糕的情况是什么?有关系吗?编译器会抛出错误吗?
元芳怎么了
万千封印
相关分类