Closed
Description
This is a postponement issue tracking postponed RFCs in the general area of "functions generic over a constant" or "generic constants" and so forth.
Example use cases for items parameterized by a constant:
- implement a trait for
[T; N]
for anyN
- small vector types (
SmallVec<32>
)
Example use cases for generic constants:
- initializers like
const FOO<T> = SomeType { value: None::<T> };
(const fn
can also address this)
Here is a list of relevant RFCs: