[#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&period;

== Synopsis

Declared in `&lt;absl&sol;cleanup&sol;cleanup&period;h&gt;`

[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&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
