Skip to content

US082 10.03 [module.import] Define order of initialization for globals in modules P1874 #81

@wg21bot

Description

@wg21bot

The order of initialization of globals in interface and header units is not defined for imported modules. This has the potential to break code, including iostream, when moving to modules.

Proposed change:
Define an ordering. See P1874r0 for details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions