Home | History | Annotate | Download | only in temp.variadic

Lines Matching defs:int

26   X0<int>().f<1, 2, 3, 4, 5>();
43 int check0[X<short, int, long>::Inner<tuple<pair<short, unsigned short>,
44 pair<int, unsigned int>,
48 int check1[X<short, int>::Inner<tuple<pair<short, unsigned short>,
49 pair<int, unsigned int>,
67 int check2[X1<short, int, long>::Inner<tuple<pair<short, unsigned short>,
68 pair<int, unsigned int>,
71 sizeof(int) + sizeof(unsigned int),
74 int check3[X1<short, int>::Inner<tuple<pair<short, unsigned short>,
75 pair<int, unsigned int>,
78 sizeof(int) + sizeof(unsigned int),
94 int check4[X2<short, int, long>::Inner<int(pair<short, unsigned short>,
95 pair<int, unsigned int>,
99 int check5[X2<short, int>::Inner<int(pair<short, unsigned short>,
100 pair<int, unsigned int>,
125 int check6[X3<short, int, long>::Inner<tuple<pair<short, unsigned short>,
126 pair<int, unsigned int>,
130 some_function_object<int, unsigned int>::result_of,
133 int check7[X3<short, int>::Inner<tuple<pair<short, unsigned short>,
134 pair<int, unsigned int>,
138 some_function_object<int, unsigned int>::result_of,
156 int check8[X4<1, 3, 5>::Inner<tuple<unsigned_pair<1, 2>,
160 int check9[X4<1, 3>::Inner<tuple<unsigned_pair<1, 2>,
181 int check10[X5<add_reference, add_pointer, add_const>
182 ::Inner<tuple<add_reference<int>,
185 int check11[X5<add_reference, add_pointer>
186 ::Inner<tuple<add_reference<int>,
191 constexpr int g(int n, int m) { return n * 10 + m; }
206 struct A { constexpr operator int() const { return 2; } };
207 struct B { constexpr operator int() const { return 1; } };
209 static_assert(X6<unsigned char, int>().f1<A, B>(255, 1) == 12, "");
210 static_assert(X6<int, int>().f2(3, 4, 0, 0) == 34, "");
211 static_assert(X6<int, int>().f2(3, 4, 0, 1) == 34, ""); // expected-error {{constant expression}} expected-note {{in call}}
212 static_assert(X6<int, int>::Inner<int, int>().f(1, 2, 3, 4, 5, 6) == 102, "");
226 int i;
228 int check_tuple_of_values_1[
229 is_same<tuple_of_values<int&, float&, char, int>::apply<i, f, 'a', 17>
231 tuple<value_c<int&, i>, value_c<float&, f>, value_c<char, 'a'>,
232 value_c<int, 17>>
235 tuple_of_values<int, float> tv1; // expected-note{{in instantiation of template class 'ExpandingNonTypeTemplateParameters::tuple_of_values<int, float>' requested here}}
237 tuple_of_values<int&, float&>::apply<i, i>::type tv2; // expected-error{{non-type template parameter of reference type 'float &' cannot bind to template argument of type 'int'}}
239 tuple_of_values<int&, float&>::apply<i>::type tv3; // expected-error{{too few template arguments for class template 'apply'}}
241 tuple_of_values<int&, float&>::apply<i, f, i>::type tv4; // expected-error{{too many template arguments for class template 'apply'}}
247 typedef int type;
267 auto f() -> int(&)[sizeof...(Args)];
272 int (&ir1)[1] = s<int>().f<int>();
273 int (&ir3)[3] = s<int>().f<int, float, double>();
298 S<int>().f(0);
299 S<int>().f(0, 1);
300 S<int, int>().f(0); // expected-error {{no matching member function for call}}
304 S<int>().g(0);
305 S<int>().g(0, 1); // expected-error {{no matching member function for call}}
306 S<int>().g<int>(0, 1);
307 S<int, int>().g(0, 1);
311 S<int>().h({}); // expected-error {{no matching member function for call}}
312 S<int>().h<int>({});
313 S<int>().h(tuple<int,int>{});
314 S<int, int>().h(tuple<int,int>{}, tuple<int,int>{});
316 S<int, int>::X<char>(); // expected-note {{here}}