c++ - how" set jump" and "long jump" differs from "try catch" in stack pointer modification? -
there discussion on difference between how setjmp , longjmp , "try catch" handles allocation on stack. after jump routines finishes restore stack pointer do have in same context or same function block happen when have function call in "try" section of "try catch" after call stack pointer returned if got catch section exception.