Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThePhD/sol2
/ memory_tracker
Method
memory_tracker
examples/source/allocation_limit.cpp:14–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
= 1024 * 1024 * 10;
13
14
memory_tracker() : memory_tracker(arbitrary_default_limit) {
15
}
16
17
memory_tracker(std::size_t maximum_memory)
18
: used(0)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected