swap()
Synopsis
Declared in <absl/functional/any_invocable.h>
void
swap(
AnyInvocable& f1,
AnyInvocable& f2) noexcept;
|
Note
|
This function is a hidden friend of AnyInvocable, declared only inside that class: it can be found only through argument-dependent lookup. |
Description
Exchanges the targets of f1 and f2.
Parameters
Name |
Description |
f1 |
The first |
f2 |
The second |
Created with MrDocs