Assigns an AnyInvocable from a reference to an invocable object. Upon assignment, stores a reference to the invocable object in the AnyInvocable instance.
Synopsis
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;
Return Value
A reference to *this.
Parameters
Name |
Description |
f |
The invocable object to reference. |
Created with MrDocs