I'm writing some (low-level) code with no exception handling available whatsoever... either the code runs, or it doesn't.

Is there any way for me to use scope(exit) (or perhaps a destructor, like RAII) to mean, "Execute this block of code for me when the block is exited, will ya?", *without* introducing dependencies on exception handling?

Reply via email to