Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
neutrono
· 3y ago · 0 comments
In C23 you can use the attribute
[[nodiscard]]
on functions to mark that the result from function shouldn't be discarded. I think there is also a
[[reproducible]]
attribute for saying a function doesn't do side effects.
Comments
No comments yet.
Better HN