Exception Safety
Write exception-safe code.
What Exception Safety Means
Exception safety describes what guarantees your code keeps when an exception is thrown partway through an operation.
The No-Throw Guarantee
The strongest level: the operation never throws. Destructors, swaps, and move operations should aim for this and be marked noexcept.
All lessons in this course
- try, catch, throw
- Exception Safety
- noexcept Specifier
- Custom Exception Types