cpp/language/attributes/noreturn

Indicates that the function does not return.

Explanation
Indicates that the function will not return control flow to the calling function after it finishes (e.g. functions that terminate the application, throw exceptions, loop indefinitely, etc.).

This attribute applies to the name of the function being declared in function declarations only. The behavior is undefined if the function with this attribute actually returns.

The first declaration of the function must specify this attribute if any declaration specifies it. If a function is declared with in one translation unit, and the same function is declared without  in another translation unit, the program is ill-formed; no diagnostic required.

Standard library
The following standard functions are declared with attribute: