Searched refs:NoConstructor (Results 1 – 4 of 4) sorted by relevance
37 struct NoConstructor { in TEST_SUBMODULE() struct38 NoConstructor() = default; in TEST_SUBMODULE()39 NoConstructor(const NoConstructor &) = default; in TEST_SUBMODULE()40 NoConstructor(NoConstructor &&) = default; in TEST_SUBMODULE()41 static NoConstructor *new_instance() { in TEST_SUBMODULE() argument42 auto *ptr = new NoConstructor(); in TEST_SUBMODULE()46 ~NoConstructor() { print_destroyed(this); } in TEST_SUBMODULE() argument49 py::class_<NoConstructor>(m, "NoConstructor") in TEST_SUBMODULE()50 .def_static("new_instance", &NoConstructor::new_instance, "Return an instance"); in TEST_SUBMODULE()
18 m.NoConstructor()21 instance = m.NoConstructor.new_instance()23 cstats = ConstructorStats.get(m.NoConstructor)89 doc(m.NoConstructor.new_instance)
21 public class NoConstructor { class
20 org.objenesis.tck.candidates.NoConstructor = No constructor