Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HelenOS/helenos
/ swap
Function
swap
uspace/lib/cpp/include/__bits/functional/function.hpp:369–372 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
367
368
template<class R, class... Args>
369
void swap(function<R(Args...)>& f1, function<R(Args...)>& f2)
370
{
371
f1.swap(f2);
372
}
373
374
template<class R, class... Args, class Alloc>
375
struct uses_allocator<function<R(Args...)>, Alloc>
Callers
1
swap
Method · 0.70
Calls
1
swap
Method · 0.45
Tested by
no test coverage detected