Assigns an AnyInvocable from an existing AnyInvocable instance.
Declared in <absl/functional/any_invocable.h>
template<class F>
requires internal_any_invocable::CanAssign<Sig, F>::value
AnyInvocable&
operator=(F&& f);
Upon assignment, *this is only empty if f is a function pointer or member pointer type and is null, or if f is an AnyInvocable that is empty.
A reference to *this.
| Name | Description |
|---|---|
| f | The invocable object to assign. |