MCPcopy Create free account
hub / github.com/pybind/pybind11 / operator delete

Method operator delete

tests/test_class.cpp:339–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 return ptr;
338 }
339 static void operator delete(void *p, size_t s) {
340 py::print("B delete", s);
341 return ::operator delete(p);
342 }
343 };
344 struct AliasedHasOpNewDelSize {
345 std::uint64_t i;

Callers

nothing calls this directly

Calls 1

printFunction · 0.85

Tested by

no test coverage detected