Consider the expression delete[] p;, where p points to a valid array on the free store, which was properly allocated and initialized using new[].
英
美
- 现在,让我们开始讨论一个你期待已久的问题:“为什么说在析构函数中抛出异常的是一种罪恶”。