...

/

Exception Specifications in the Type System

Exception Specifications in the Type System

This lesson touches upon specifying exception and the reasons for adding this feature.

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. ...