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/shared_ptr.hpp:301–304 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
299
}
300
301
void reset() noexcept
302
{
303
shared_ptr{}.swap(*this);
304
}
305
306
template<class U>
307
void reset(U* ptr)
Callers
nothing calls this directly
Calls
1
swap
Method · 0.45
Tested by
no test coverage detected