Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HelenOS/helenos
/ reset
Method
reset
uspace/lib/cpp/include/__bits/memory/weak_ptr.hpp:170–173 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
168
}
169
170
void reset() noexcept
171
{
172
weak_ptr{}.swap(*this);
173
}
174
175
/**
176
* 20.8.2.3.5, observers:
Callers
3
test_unique_ptr
Method · 0.45
test_operations
Method · 0.45
test_packaged_task
Method · 0.45
Calls
1
swap
Method · 0.45
Tested by
3
test_unique_ptr
Method · 0.36
test_operations
Method · 0.36
test_packaged_task
Method · 0.36