Skip to content

Need compile-time constant for the generics #2409

Closed

Description

@3442853561

Arrays have type [T; N]. The N is a compile-time constant, for the length of the array.
and I hope a kind of generics can solve this situation

Activity

  1. steveklabnik commented on Apr 19, 2018

    @steveklabnik
    Contributor

    Does #2000 solve this?

  2. 3442853561 commented on Apr 19, 2018

    @3442853561
    Author

    yes, Thanks

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions