2 ms·
"And as people have said, without RAII it's impossible to write exception-safe code." Assuming that's hyperbole, I agree with the sentiment. It's possible to
by dllthomas 13y ago
"And as people have said, without RAII it's impossible to write exception-safe code."
Assuming that's hyperbole, I agree with the sentiment. It's possible to write exception safe code with try & catch - it's just almost as ugly as checking exit statuses and easier to miss something.