9 Oct
2013
9 Oct
'13
2:39 p.m.
On 9 October 2013 04:33, Rob Stewart
Functional style programming and careful use of RAII are ways to ensure proper cleanup during unwinding, but they require the kind of careful programming that would have inserted a conditional to test for a null pointer.
Even careful programming can't address it, as you would still have to assume that the *only* programming bug was the null pointer. Without doing a root cause analysis, running any code that makes an assumption about state, including destructors, is suspect. -- Nevin ":-)" Liber mailto:nevin@eviloverlord.com (847) 691-1404