Searched refs:MyObject4a (Results 1 – 2 of 2) sorted by relevance
209 class MyObject4a; in TEST_SUBMODULE()210 static std::unordered_set<MyObject4a *> myobject4a_instances; in TEST_SUBMODULE()211 class MyObject4a { in TEST_SUBMODULE() class213 MyObject4a(int i) { in TEST_SUBMODULE() function in TEST_SUBMODULE::MyObject4a227 virtual ~MyObject4a() { in TEST_SUBMODULE()232 py::class_<MyObject4a, std::unique_ptr<MyObject4a, py::nodelete>>(m, "MyObject4a") in TEST_SUBMODULE()234 .def_readwrite("value", &MyObject4a::value) in TEST_SUBMODULE()235 .def_static("cleanup_all_instances", &MyObject4a::cleanupAllInstances); in TEST_SUBMODULE()238 class MyObject4b : public MyObject4a { in TEST_SUBMODULE()240 MyObject4b(int i) : MyObject4a(i) { print_created(this); } in TEST_SUBMODULE()[all …]
134 o = m.MyObject4a(23)136 cstats = ConstructorStats.get(m.MyObject4a)140 m.MyObject4a.cleanup_all_instances()145 m.MyObject4a(0)148 cstats4a = ConstructorStats.get(m.MyObject4a)155 m.MyObject4a.cleanup_all_instances()