HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by dnautics | Hacker News Reader
Full thread
dnautics
·
thing is, you'll still want errdefer.
View on HN
nikki93
·
Seems like `defer_if` is meant for things like the `errdefer` case:
https://gustedt.gitlabpages.inria.fr/defer/#org4ae1e19
There's no implicit "error for this stackframe" stuff in C so it needs to be given a condition I guess.
dnautics
·
thanks, I didn't see that!
Reply on news.ycombinator.com