absl::Cleanup::Invoke

Execute the callback early and prevent it from running on destruction.

Synopsis

Declared in <absl/cleanup/cleanup.h>

void
Invoke() &&;

Description

Invoke on an rvalue, e.g. std::move(cleanup).Invoke().