2 ms·
In my mind const generics and const fn is a completely different feature. Proof: you can use const fn without any const generics.
by sanxiyn 8y ago
In my mind const generics and const fn is a completely different feature. Proof: you can use const fn without any const generics.
- steveklabnik 8y agoSure. They rely on the same internals, which is why they tend to be wrapped together when talking about them as a feature, that’s all I’m saying. That also doesn’t change that const fn is stable today, so saying “it’s coming this year” muddies the waters a bit. You have to explicitly say “the capabilities of const fn will be expanded”, or you risk the wrong impression.