-
Notifications
You must be signed in to change notification settings - Fork 185
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
Const generics #168
Comments
Reference #102 |
@kpp Try if you can. |
@perlindgren has done the conversion, we are just awaiting stabilization to make a PR. |
How about make a WIP PR so no one else tries to do it on their own? |
@perlindgren Could you make a WIP PR with the conversion work you did? |
For reference the work is being done here: https://github.com/perlindgren/heapless/tree/const_generics |
Everything is implemented and the code passes all tests. There are some type bounds that needs to be added for ensuring power 2, I don't recall exactly. These were provided by GenericArray previously, not sure if we want to define/implement them ourselves, or if these are available elsewhere. |
Perhaps I should ask on the I ask because as of #189 |
Technically, when const generics lands, all code related to |
8 days before beta. |
Time |
Here you can follow the work, we almost finished the port https://github.com/japaric/heapless/tree/const_generics |
Const generics are getting more popular. I can try to implement
heapless
using const generics and push it into a separate branch until they are stable. It is a nice challenge both for coding skills and for const generics.Shall I start?
The text was updated successfully, but these errors were encountered: