3 ms·
> Their destructors will be called, in reverse order, regardless of how the function is exited. Not in C.
by _pmf_ 13y ago
> Their destructors will be called, in reverse order, regardless of how the function is exited.
Not in C.
- thrownaway2424 13y agoYes, one makes a conscious choice of implementation language. They aren't dictated by the laws of physics. Choosing your implementation language is a rather important step.
- andrewflnr 13y agoIndeed, a step involving more factors than simply whether the language has destructors.