Messages in this thread | | | Date | Wed, 31 Jan 2024 17:12:12 -0800 | From | Dan Williams <> | Subject | Re: [RFC PATCH v3] cleanup: Add cond_guard() to conditional guards |
| |
Fabio M. De Francesco wrote: > I just noticed that this is not the final version. It misses a semicolon. > Please discard this v3. I'm sending v4.
Ok, but do please copy the aspect of scoped_conf_guard() to take a "_fail" statement argument. Passing a return code collector variable by reference just feels a bit too magical. I like the explicitness of passing the statement directly.
| |