Skip to content

Exported declaration of std::exception follows non-exported declaration #4350

@AndreyG

Description

@AndreyG

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedSomething works now, yay!modulesC++23 modules, C++20 header units

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions