[#absl-Cleanup-0a-2constructor-01] = xref:absl.adoc[absl]::xref:absl/Cleanup-0a.adoc[Cleanup]::Cleanup :relfileprefix: ../../ :mrdocs: Construct a `Cleanup` that runs the given callback on scope exit. == Synopsis Declared in `<absl/cleanup/cleanup.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Cleanup(Callback callback); ---- == Parameters [cols="1,4"] |=== | Name| Description | *callback* | The callable to invoke when the guard is destroyed. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#