Skip to content

CWG2999 Trivial unions changing existing behavior #2418

@jensmaurer

Description

@jensmaurer

The changes applied by P3074R7 for C++26 alter existing well-defined behavior for template arguments.

It is unclear whether such changes were design-intended.

See CWG2999 for details.

See also P3726R0 (Adjustments to Union Lifetime Rules) #2356.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C++26Targeted at C++26EWGEvolution

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions