Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need compile-time constant for the generics #2409

Closed
3442853561 opened this issue Apr 19, 2018 · 2 comments
Closed

Need compile-time constant for the generics #2409

3442853561 opened this issue Apr 19, 2018 · 2 comments

Comments

@3442853561
Copy link

3442853561 commented Apr 19, 2018

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

@steveklabnik
Copy link
Member

Does #2000 solve this?

@3442853561
Copy link
Author

yes, Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants