3 ms·
You can simply return error values either as a tuple, an error code, etc. RAII, of course, takes care of the cleanup either way.
by wvenable 11y ago
You can simply return error values either as a tuple, an error code, etc. RAII, of course, takes care of the cleanup either way.