Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ reset
Method
reset
dlib/smart_pointers/shared_ptr.h:313–316 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
311
}
312
313
void reset()
314
{
315
shared_ptr().swap(*this);
316
}
317
318
template<typename Y>
319
void reset(Y* p)
Callers
nothing calls this directly
Calls
2
shared_ptr
Class · 0.85
swap
Method · 0.45
Tested by
no test coverage detected