Home
last modified time | relevance | path

Searched refs:NoConstructor (Results 1 – 4 of 4) sorted by relevance

/external/python/pybind11/tests/
Dtest_class.cpp37 struct NoConstructor { in TEST_SUBMODULE() struct
38 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() argument
42 auto *ptr = new NoConstructor(); in TEST_SUBMODULE()
46 ~NoConstructor() { print_destroyed(this); } in TEST_SUBMODULE() argument
49 py::class_<NoConstructor>(m, "NoConstructor") in TEST_SUBMODULE()
50 .def_static("new_instance", &NoConstructor::new_instance, "Return an instance"); in TEST_SUBMODULE()
Dtest_class.py18 m.NoConstructor()
21 instance = m.NoConstructor.new_instance()
23 cstats = ConstructorStats.get(m.NoConstructor)
89 doc(m.NoConstructor.new_instance)
/external/objenesis/tck/src/main/java/org/objenesis/tck/candidates/
DNoConstructor.java21 public class NoConstructor { class
/external/objenesis/tck/src/main/resources/org/objenesis/tck/candidates/
Dcandidates.properties20 org.objenesis.tck.candidates.NoConstructor = No constructor