3 ms·
You do that (as nowadays in C++) with compile time "constants" https://doc.rust-lang.org/reference/const_eval.html https://doc.rust-lang.org/reference/const_eva
by ReleaseCandidat 3y ago
You do that (as nowadays in C++) with compile time "constants" https://doc.rust-lang.org/reference/const_eval.html https://doc.rust-lang.org/reference/const_eval.html
- magicalhippo 3y agoYes, but then you wouldn't be abusing the type system, so where's the fun in that? :P