Lines Matching refs:int_tuple
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...> >
155 : build_indices_impl<I+1, N, int_tuple<Indices..., I> > {
159 struct build_indices_impl<N, N, int_tuple<Indices...> > {
160 typedef int_tuple<Indices...> type;
164 struct build_indices : build_indices_impl<0, N, int_tuple<> > { };
167 int_tuple<0, 1, 2, 3, 4>>::value? 1 : -1];