Lines Matching defs:alias
72 bool alias = false;
75 TestFactory6(TestFactory6 &&f) { print_move_created(this); value = f.value; alias = f.alias; }
76 TestFactory6(const TestFactory6 &f) { print_copy_created(this); value = f.value; alias = f.alias; }
79 bool has_alias() { return alias; }
84 // when an alias is needed:
85 PyTF6(TestFactory6 &&base) : TestFactory6(std::move(base)) { alias = true; print_created(this, "move", value); }
86 PyTF6(int i) : TestFactory6(i) { alias = true; print_created(this, i); }
89 PyTF6(std::string s) : TestFactory6((int) s.size()) { alias = true; print_created(this, s); }
97 bool alias = false;
100 TestFactory7(TestFactory7 &&f) { print_move_created(this); value = f.value; alias = f.alias; }
101 TestFactory7(const TestFactory7 &f) { print_copy_created(this); value = f.value; alias = f.alias; }
104 bool has_alias() { return alias; }
108 PyTF7(int i) : TestFactory7(i) { alias = true; print_created(this, i); }
159 MAKE_TAG_TYPE(alias);
227 // Separate alias constructor testing
252 [](shared_ptr_tag, invalid_base_tag, int i) { return std::make_shared<TestFactory7>(i); })) // <-- invalid alias factory