News for hackers. Stuff that matters.
Re:Memory management in C programs (2014) by lmm on Tuesday July 19, 2016 @07:13AM (#12121039)
new can and does fail when you're out of memory, and this is a condition that many programs do need to handle (for some programs crashing is appropriate and in that case sure, you can live without exceptions). In a pedantic technical sense that's not the constructor failing, but your options for handling it are much the same.

There are no comments on this comment yet.