Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ceph/ceph
/ reset
Method
reset
src/include/alloc_ptr.h:48–50 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
return ptr.release();
47
}
48
void reset(element_type *p = nullptr) {
49
ptr.reset(p);
50
}
51
element_type* get() const {
52
if (!ptr)
53
ptr.reset(new element_type);
Callers
3
get
Method · 0.45
alloc_ptr
Class · 0.45
operator->
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected