Skip to content

Consider redefining the places ~const bounds are allowed #102497

Description

@fee1-dead

At #102409 (comment), it was pointed out that associated functions can have ~const bounds even though they may be non-const. We need to figure out and define what places ~const should be allowed. Note that since ~const only applies more restrictions on callers that are const, putting them on non-const fns has no effect.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions