Exception Specifications in the Type System
Explore how C++17 integrates exception specifications into the function type system, allowing overloads with and without noexcept. Understand the performance benefits and restrictions of converting function pointers, enhancing your grasp of modern C++ exception handling.
We'll cover the following...
We'll cover the following...
Specifying Exception
Exception Specification for a function didn’t use to belong to the type of the function, but now it will be part of it.
You can now have two function overloads: one with noexcept and one without it. ...