Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danoon2/Boxedwine
/ internalPut
Method
internalPut
source/util/ptrpool.h:48–53 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
}
47
48
inline void internalPut(T* obj) {
49
if constexpr (!std::is_integral<T>::value) {
50
obj->reset();
51
}
52
queue.push(obj);
53
}
54
55
void internalDeleteAll() {
56
for (auto& t : allocated) {
Callers
nothing calls this directly
Calls
2
reset
Method · 0.45
push
Method · 0.45
Tested by
no test coverage detected