News for hackers. Stuff that matters.
Re:Memory management in C programs (2014) by nshepperd on Tuesday July 19, 2016 @03:14AM (#12120291)
Eh? RAII works perfectly fine without exceptions. Either - You write a constructor that cannot fail for RAII types that cannot fail, or - return some kind of option type from your BuildRAII() function, and handle the failure case however you want.

There are no comments on this comment yet.