chsvlib
chsv helper source code

◆ NORETURN

#define NORETURN   [[noreturn]]

Resolves to the C++11 attribute specifying that any function with it will not return on some reason (e.g. due to program termination, exception throw etc.), so the rest of the code within the function will not be executed. If the statement attribute makes is false, the behavior is undefined.

The macro is included because MSVC compilers do not support and are not going to support attributes, so the macro is resolved to the Microsoft specific __declspec(selectany) directive.