In the header <exception> firstly <vcruntime_exception.h> is included and then class exception is redeclared as exported. This is incorrect by the standard (https://eel.is/c++draft/module.interface#6), namely it repeats https://eel.is/c++draft/module.interface#example-4, where struct S is replaced with class exception.