Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ operator new
Method
operator new
tests/Issue455.cpp:17–20 ·
view source on GitHub ↗
implicitly static
Source
from the content-addressed store, hash-verified
15
public:
16
// implicitly static
17
void* operator new(size_t size)
18
{
19
return std::malloc(size);
20
}
21
22
void operator delete(void* p)
23
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected