What about rust const fn()? I think it guarantees there are no side effects
I think you're right. Equivalent to C++'s constexpr.
I think you're right. Equivalent to C++'s constexpr.