Assigns an AnyInvocable through move‐assignment. Note that f is not guaranteed to be empty after move‐assignment although it may be.

Synopsis

Declared in <absl/functional/any_invocable.h>

AnyInvocable&
operator=(AnyInvocable&& f) noexcept = default;

Return Value

A reference to *this.

Parameters

Name

Description

f

The AnyInvocable to move from.

Created with MrDocs