5 ms·
Yes you don't need const generics, after all that is what the entire post is about. I was merely offering a perspective on how the const generics might offer a
by cdirkx 7y ago
Yes you don't need const generics, after all that is what the entire post is about.
I was merely offering a perspective on how the const generics might offer an alternative way to express the same ideas, and possibly change the idiomatic way to write them. Type level values, especially enums, IMHO offer an intuitive way to encode what is going on.