所以A a; void test() { static A b; A c; exit(0); } 将破坏a并b正确地进行,但不会调用的析构函数c。abort()不会调用这两个对象的析构函数。不幸的是,C ++标准描述 ...
確定! 回上一頁