Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/covscript/covscript
/ operator new
Method
operator new
include/covscript/impl/symbols.hpp:695–700 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
693
static garbage_collector<method_base> gc;
694
695
static void *operator new(std::size_t size)
696
{
697
void *ptr = ::operator new(size);
698
gc.add(ptr);
699
return ptr;
700
}
701
702
static void operator delete(void *ptr)
703
{
Callers
nothing calls this directly
Calls
1
add
Method · 0.45
Tested by
no test coverage detected