Lines Matching refs:Tuple
53 // The type of the i-th (0-based) field of Tuple.
54 #define GMOCK_FIELD_TYPE_(Tuple, i) \
55 typename ::std::tr1::tuple_element<i, Tuple>::type
57 // TupleFields<Tuple, k0, ..., kn> is for selecting fields from a
58 // tuple of type Tuple. It has two members:
60 // type: a tuple type whose i-th field is the ki-th field of Tuple.
68 template <class Tuple$for i [[, int k$i = -1]]>
72 template <class Tuple$for i [[, int k$i]]>
75 typedef ::std::tr1::tuple<$for i, [[GMOCK_FIELD_TYPE_(Tuple, k$i)]]> type;
76 static type GetSelectedFields(const Tuple& t) {
89 template <class Tuple$for j [[, int k$j]]>
90 class TupleFields<Tuple, $for k, [[$if k < i [[k$k]] $else [[-1]]]]> {
92 typedef ::std::tr1::tuple<$for j, [[GMOCK_FIELD_TYPE_(Tuple, k$j)]]> type;
93 static type GetSelectedFields(const Tuple& $if i==0 [[/* t */]] $else [[t]]) {