Hacker News new | ask | show | jobs
by dllthomas 4480 days ago
It's perhaps worth knowing, although it will hopefully never be relevant, that at least in GCC a longjmp will not run destructors.
1 comments

It's worse than that, using longjmp to skip a non-trivial destructor is UB.
Good to know.