Searched refs:TestFactory1 (Results 1 - 2 of 2) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_factory_constructors.cpp | 17 class TestFactory1 { class 19 TestFactory1() : value("(empty)") { print_default_created(this); } function in class:TestFactory1 20 TestFactory1(int v) : value(std::to_string(v)) { print_created(this, value); } function in class:TestFactory1 21 TestFactory1(std::string v) : value(std::move(v)) { print_created(this, value); } function in class:TestFactory1 22 TestFactory1(TestFactory1 &&) = delete; 23 TestFactory1(const TestFactory1 &) = delete; 24 TestFactory1 &operator=(TestFactory1 [all...] |
H A D | test_factory_constructors.py | 12 cstats = [ConstructorStats.get(c) for c in [m.TestFactory1, m.TestFactory2, m.TestFactory3]] 16 x1 = m.TestFactory1(tag.unique_ptr, 3) 18 y1 = m.TestFactory1(tag.pointer) 20 z1 = m.TestFactory1("hi!") 65 m.TestFactory1("invalid", "constructor", "arguments") 68 1. m.factory_constructors.TestFactory1(arg0: m.factory_constructors.tag.unique_ptr_tag, arg1: int) 69 2. m.factory_constructors.TestFactory1(arg0: str) 70 3. m.factory_constructors.TestFactory1(arg0: m.factory_constructors.tag.pointer_tag) 71 4. m.factory_constructors.TestFactory1(arg0: handle, arg1: int, arg2: handle) 76 assert msg(m.TestFactory1 [all...] |
Completed in 3 milliseconds