Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ operator new
Method
operator new
tests/Issue455.cpp:31–34 ·
view source on GitHub ↗
only one static
Source
from the content-addressed store, hash-verified
29
public:
30
// only one static
31
static void* operator new(size_t size)
32
{
33
return std::malloc(size);
34
}
35
36
static void operator delete(void* p)
37
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected