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

Lines Matching refs:Arity

238   struct Arity;
241 struct Arity<R(Types...)> {
246 struct Arity<R(Types......)> { // expected-warning {{varargs}} expected-note {{pack}} expected-note {{insert ','}}
251 struct Arity<R(T1, T2, T3, T4)>; // expected-note{{template is declared here}}
253 int check0[Arity<int()>::value == 0? 1 : -1];
254 int check1[Arity<int(float, double)>::value == 2? 1 : -1];
255 int check2[Arity<int(float...)>::value == 1? 1 : -1];
256 int check3[Arity<int(float, double, long double...)>::value == 3? 1 : -1];
257 Arity<int(float, double, long double, char)> check4; // expected-error{{implicit instantiation of undefined template 'FunctionTypes::Arity<int (float, double, long double, char)>'}}