Searched refs:TestFactory7 (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_factory_constructors.cpp94 class TestFactory7 { class
99 TestFactory7(int i) : value{i} { print_created(this, i); } function in class:TestFactory7
100 TestFactory7(TestFactory7 &&f) { print_move_created(this); value = f.value; alias = f.alias; } function in class:TestFactory7
101 TestFactory7(const TestFactory7 &f) { print_copy_created(this); value = f.value; alias = f.alias; } function in class:TestFactory7
102 virtual ~TestFactory7() { print_destroyed(this); }
106 class PyTF7 : public TestFactory7 {
108 PyTF7(int i) : TestFactory7(i) { alias = true; print_created(this, i); }
109 PyTF7(PyTF7 &&f) : TestFactory7(st
[all...]
H A Dtest_factory_constructors.py207 from pybind11_tests.factory_constructors import TestFactory7
209 cstats = [TestFactory7.get_cstats(), TestFactory7.get_alias_cstats()]
213 class PythFactory7(TestFactory7):
215 return 100 + TestFactory7.get(self)
217 a1 = TestFactory7(1)
224 b1 = TestFactory7(tag.pointer, 3)
231 c1 = TestFactory7(tag.mixed, 5)
238 d1 = TestFactory7(tag.base, tag.pointer, 7)
246 e1 = TestFactory7(ta
[all...]

Completed in 5 milliseconds