3 ms·
If I create several objects and then one of them fails, the ones that succeeded get destructed in reverse order, and then my callers get the exception that kill
by erik_seaberg 7y ago
If I create several objects and then one of them fails, the ones that succeeded get destructed in reverse order, and then my callers get the exception that killed me. I don't need a handler unless I know what to do about it or I'm doing something weird that doesn't work with RAII. And I can't even try to use an object that didn't properly initialize.
- dgellow 7y agoI see, that makes sense