Assigns an AnyInvocable from a reference to an invocable object. Upon assignment, stores a reference to the invocable object in the AnyInvocable instance.
Declared in <absl/functional/any_invocable.h>
template<class F>
requires internal_any_invocable::CanAssignReferenceWrapper<Sig, F>::value
AnyInvocable&
operator=(std::reference_wrapper<F> f) noexcept;
A reference to *this.
| Name | Description |
|---|---|
| f | The invocable object to reference. |