Hacker News new | ask | show | jobs
by functional_dev 251 days ago
What about rust const fn()? I think it guarantees there are no side effects
1 comments

I think you're right. Equivalent to C++'s constexpr.