/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
metafunctions.cpp | 16 template<int ...> struct int_tuple { }; struct 72 typedef int_tuple<Values*2 ...> type; 76 int_tuple<2, 4, -6>>::value? 1 : -1]; 80 typedef int_tuple<(Values*Values)...> type; 84 int_tuple<1, 4, 9>>::value? 1 : -1]; 89 struct square_tuple<int_tuple<Values...>> { 90 typedef int_tuple<(Values*Values)...> type; 93 int check2[is_same<square_tuple<int_tuple<1, 2, -3> >::type, 94 int_tuple<1, 4, 9>>::value? 1 : -1]; 154 struct build_indices_impl<I, N, int_tuple<Indices...> [all...] |
parameter-matching.cpp | 32 template<int ...> struct int_tuple { }; struct in namespace:rdar8859985 37 X(tuple<Args1...>, int_tuple<Indices1...>); 42 X<T>::X(tuple<Args1...>, int_tuple<Indices1...>) {}
|
example-bind.cpp | 203 template<int...> struct int_tuple {}; struct 208 struct make_indexes_impl<I, int_tuple<Indexes...>, T, Types...> { 209 typedef typename make_indexes_impl<I+1, int_tuple<Indexes..., I>, Types...>::type type; 213 struct make_indexes_impl<I, int_tuple<Indexes...> > { 214 typedef int_tuple<Indexes...> type; 218 struct make_indexes : make_indexes_impl<0, int_tuple<>, Types...> { 289 unwrap_and_forward(F& f, int_tuple<Indexes...>, const tuple<Args&...>& args) { 322 int_tuple<Indexes...>,
|
/external/clang/test/CodeGenCXX/ |
mangle-variadic-templates.cpp | 9 template<int ...Values> struct int_tuple { }; struct 59 template<int ...Values> int_tuple<Values...> f6() {} 61 template int_tuple<1, 2, 3> f6();
|