absl::Cleanup::Cleanup

Move-construct a Cleanup, transferring ownership of the callback.

Synopsis

Declared in <absl/cleanup/cleanup.h>

Cleanup(Cleanup&& other) = default;

Parameters

NameDescription
otherThe guard to move from.