Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
functional_dev
· 8mo ago · 0 comments
What about rust
const fn()
? I think it guarantees there are no side effects
Comments
[–]
IshKebab
8mo ago
I think you're right. Equivalent to C++'s constexpr.