swap()
Declared in <absl/functional/any_invocable.h>
void
swap(
AnyInvocable& f1,
AnyInvocable& f2) noexcept;
Exchanges the targets of f1 and f2.
| Name | Description |
|---|---|
| f1 | The first AnyInvocable to swap. |
| f2 | The second AnyInvocable to swap. |