mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 09:28:30 +00:00
I think there are a few related ways to do this. I considered llvm::make_scope_exit, but the return type is difficult to work with. I particularly was thinking I could encapsulate the duration logic this way.