Searched defs:HasOpNewDelBoth (Results 1 – 1 of 1) sorted by relevance
272 struct HasOpNewDelBoth { in TEST_SUBMODULE() struct273 std::uint32_t i[8]; in TEST_SUBMODULE()274 static void *operator new(size_t s) { py::print("D new", s); return ::operator new(s); } in TEST_SUBMODULE()275 … static void *operator new(size_t s, void *ptr) { py::print("D placement-new", s); return ptr; } in TEST_SUBMODULE()276 static void operator delete(void *p) { py::print("D delete"); return ::operator delete(p); } in TEST_SUBMODULE()277 …operator delete(void *p, size_t s) { py::print("D wrong delete", s); return ::operator delete(p); } in TEST_SUBMODULE()