Skip to content

Be able to convert from integers to C-like enums #1648

Closed
@kevina

Description

@kevina

Now that we can specify explicit discriminant numbers (see #1393) it would be nice to be able to convert from integers to the C-like enums. Doing so safely will likely require some sort of run-time check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-type-systemArea: Type systemC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions