-
-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Support for passing compile time constants in generics would be useful. for example something like:
struct Vec<T, N: usize> {
data: T[N];
}Not sure how he syntax should be, but could maybe be something like:
struct Vec<T, comptime N: usize> {}or just
struct Vec<T, comptime N> {}not sure how it would go mixing the types and constants in same generic definition.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Type
Projects
Status
Ready