"Richard Anderson" <[EMAIL PROTECTED]> wrote in
message news:46394@palm-dev-forum...
>
> Theres one thing I dont really understand about try/catch type
constructs,
> the whole point of them !!!

The big reason for them in C++ is so objects can be correctly destroyed.
A goto out of a block doesn't call the destructors for objects in that
and other outer blocks, while a throw correctly destroys things until it
hits an appropriate catch block.

In C, there isn't as much justification for using exception handling.
--
Ben Combee, [EMAIL PROTECTED]
Techwood Broadcasting Foundation, Austin Bureau



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to