Lines Matching refs:HasMixins
95 struct HasMixins : public Mixins... { struct
96 HasMixins();
97 HasMixins(const HasMixins&);
98 HasMixins(int i);
108 A *checkA = new HasMixins<A, B, C, D>;
109 B *checkB = new HasMixins<A, B, C, D>;
110 D *checkD = new HasMixins<A, B, C, D>;
111 C *checkC = new HasMixins<A, B, D>; // expected-error{{cannot initialize a variable of type 'C *' w…
112 HasMixins<> *checkNone = new HasMixins<>;
119 HasMixins<Mixins...>::HasMixins(): Mixins()... { } in HasMixins() function in HasMixins
122 HasMixins<Mixins...>::HasMixins(const HasMixins &other): Mixins(other)... { } in HasMixins() function in HasMixins
125 HasMixins<Mixins...>::HasMixins(int i): Mixins(i)... { } // expected-error{{no matching constructor… in HasMixins() function in HasMixins
128 HasMixins<A, B> ab; in test_has_mixins()
129 HasMixins<A, B> ab2 = ab; in test_has_mixins()
130 …HasMixins<A, B> ab3(17); // expected-note{{in instantiation of member function 'HasMixins<A, B>::H… in test_has_mixins()