Skip to content

user defined const param type backcompat #6

Closed
@lcnr

Description

@lcnr

allowing a type to be used as a const parameter type adds some additional backcompat concerns.

For example adding raw/function pointer fields is suddenly a breaking change because the type stops being structural match.

How do we want to deal with this? Require the user to explicitly opt in, require all fields to be public (disqualifies NonZeroT), or something else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions