How does throwing and catching exceptions differ from using setjmp and longjm

How does throwing and catching exceptions differ from using setjmp and longjmp?
A: The throw operation calls the destructors for automatic objects instantiated since entry to the try block.

No comments:

Post a Comment

comment on this post

Note: Only a member of this blog may post a comment.