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?
I'm writing some (low-level) code with no exception handling
available whatsoever... either the code runs, or it doesn't.
- scope(exit) without exception handling? Mehrdad
- Re: scope(exit) without exception handling? Jonathan M Davis
- Re: scope(exit) without exception handling? Brad Roberts
- Re: scope(exit) without exception handling? Jonathan M Davis
- Re: scope(exit) without exception handling? Mehrdad
- Re: scope(exit) without exception handling? Robert DaSilva
- Re: scope(exit) without exception handling? Trass3r
- Re: scope(exit) without exception handling? Mehrdad