absl::AnyInvocable::AnyInvocable

Constructs the AnyInvocable from an existing AnyInvocable by a move. Note that f is not guaranteed to be empty after move-construction, although it may be.

Synopsis

Declared in <absl/functional/any_invocable.h>

AnyInvocable(AnyInvocable&& f) noexcept = default;

Parameters

NameDescription
fThe AnyInvocable to move from.