No, because an exception thrown from the destructor can lead to an incomplete release of resources occupied by the object (in this case, the memory, and if A
was inherited from another class, there would be a resources leak, since its destructor would not be called).
Ввійдіть щоб вподобати
Ввійдіть щоб прокоментувати