y*******o 发帖数: 6632 | 1 in which case the destructor need not to be called?
I can only answer that if the class is not fully constructed, the destructor
need not be called, such as an exception thrown from an constructor. What
else? | n******2 发帖数: 47 | 2 That's what I can think of. | n******2 发帖数: 47 | 3 That's the only one I can think of.
destructor
【在 y*******o 的大作中提到】 : in which case the destructor need not to be called? : I can only answer that if the class is not fully constructed, the destructor : need not be called, such as an exception thrown from an constructor. What : else?
|
|