3 ms·
If new fails your program crashing is probably going to be the only outcome anyway, might as well fail from an unhandled exception. And if you're putting thing
by NikkiA 7y ago
If new fails your program crashing is probably going to be the only outcome anyway, might as well fail from an unhandled exception.
And if you're putting things that can throw exceptions in your ctors or dtors you're probably already writing code that is a timebomb