Christopher Smith wrote:
> Andrew Lentvorski wrote:
>>..
>> Unfortunately, constructors and destructors are excruciatingly
>> difficult to get right in the presence of exceptions.  The fact that
>> that you have to pull out about 3 different books to get this right
>> says that something is broken.
> Or perhaps that there is something that can be learned.... ;-)
> 
> Most of the people who can actually explain clearly to me the
> differences between destructors and finalization will observe that the
> former is far more useful than the latter, and they both make it
> difficult to accurately characterize the behaviour of a system
> (finalizers manage to do so even without adding exceptions in to the mix
> ;-).

Can someone explain clearly the differences?
Seriously.
A quick glance at some googlehits and w'pedia doesn't give me a feel for
why this is a significant question, although I gather it's (maybe?) got
something to do with deterministic concerns (perhaps correctness?).

Regards,
..jim

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to