Robert Fraser wrote:
Robert Jacques wrote:2) One can still catch an error if need be.Not if the function is nothrow, since the function never sets up an exception handling frame (that's the point of this topic, AFAICT).
Make a non-recoverable version as standard, and a recoverable version that throws an Exception/return null as a last-resort if you really want to handle the mess (free other memories).