Searched defs:HasOpNewDelSize (Results 1 – 1 of 1) sorted by relevance
252 struct HasOpNewDelSize { in TEST_SUBMODULE() struct253 std::uint32_t i; in TEST_SUBMODULE()254 static void *operator new(size_t s) { py::print("B new", s); return ::operator new(s); } in TEST_SUBMODULE()255 … static void *operator new(size_t s, void *ptr) { py::print("B placement-new", s); return ptr; } in TEST_SUBMODULE()256 … void operator delete(void *p, size_t s) { py::print("B delete", s); return ::operator delete(p); } in TEST_SUBMODULE()