4 ms·
When you disable exceptions anything that throws calls std::terminate instead. It's actually great.
by thedance 7y ago
When you disable exceptions anything that throws calls std::terminate instead. It's actually great.
- pansa2 7y agoIs this automatic, or do you need to set it up somehow? `set_new_handler`?
- thedance 7y agoThe standard doesn't give advice about how to break features of the standard, so disabling exceptions is a non-standard feature of the implementation. If you're planning to disable exceptions you'd better read the docs that come with your compiler.