Constructors
Declared in <absl/cleanup/cleanup.h>
Move-construct a Cleanup, transferring ownership of the callback.
Cleanup(Cleanup&& other) = default;
» more...
Construct a Cleanup that runs the given callback on scope exit.
Cleanup(Callback callback);
» more...
| Name | Description |
|---|---|
| other | The guard to move from. |
| callback | The callable to invoke when the guard is destroyed. |