Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HelenOS/helenos
/ swap
Method
swap
uspace/lib/cpp/include/__bits/memory/weak_ptr.hpp:165–168 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
163
*/
164
165
void swap(weak_ptr& other) noexcept
166
{
167
std::swap(payload_, other.payload_);
168
}
169
170
void reset() noexcept
171
{
Callers
3
weak_ptr
Class · 0.45
reset
Method · 0.45
swap
Function · 0.45
Calls
1
swap
Function · 0.70
Tested by
no test coverage detected