Lines Matching refs:tuple
47 // InvokeHelper<F> knows how to unpack an N-tuple and invoke an N-ary
54 class InvokeHelper<R, ::testing::tuple<> > {
57 static R Invoke(Function function, const ::testing::tuple<>&) {
64 const ::testing::tuple<>&) {
70 class InvokeHelper<R, ::testing::tuple<A1> > {
73 static R Invoke(Function function, const ::testing::tuple<A1>& args) {
80 const ::testing::tuple<A1>& args) {
86 class InvokeHelper<R, ::testing::tuple<A1, A2> > {
89 static R Invoke(Function function, const ::testing::tuple<A1, A2>& args) {
96 const ::testing::tuple<A1, A2>& args) {
102 class InvokeHelper<R, ::testing::tuple<A1, A2, A3> > {
105 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3>& args) {
112 const ::testing::tuple<A1, A2, A3>& args) {
119 class InvokeHelper<R, ::testing::tuple<A1, A2, A3, A4> > {
122 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3,
131 const ::testing::tuple<A1, A2, A3, A4>& args) {
139 class InvokeHelper<R, ::testing::tuple<A1, A2, A3, A4, A5> > {
142 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4,
151 const ::testing::tuple<A1, A2, A3, A4, A5>& args) {
159 class InvokeHelper<R, ::testing::tuple<A1, A2, A3, A4, A5, A6> > {
162 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5,
171 const ::testing::tuple<A1, A2, A3, A4, A5, A6>& args) {
179 class InvokeHelper<R, ::testing::tuple<A1, A2, A3, A4, A5, A6, A7> > {
182 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5,
191 const ::testing::tuple<A1, A2, A3, A4, A5, A6,
201 class InvokeHelper<R, ::testing::tuple<A1, A2, A3, A4, A5, A6, A7, A8> > {
204 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5,
214 const ::testing::tuple<A1, A2, A3, A4, A5, A6, A7,
224 class InvokeHelper<R, ::testing::tuple<A1, A2, A3, A4, A5, A6, A7, A8, A9> > {
227 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5,
237 const ::testing::tuple<A1, A2, A3, A4, A5, A6, A7, A8,
248 class InvokeHelper<R, ::testing::tuple<A1, A2, A3, A4, A5, A6, A7, A8, A9,
252 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5,
262 const ::testing::tuple<A1, A2, A3, A4, A5, A6, A7, A8,
270 // An INTERNAL macro for extracting the type of a tuple field. It's
277 // k{i}-th (0-based) field of ArgumentTuple, which must be a tuple
279 // SelectArgs<int, ::testing::tuple<bool, char, double, long>, 0, 3>::type
283 // returns the selected fields (k1, k2, ..., k_n) of args as a tuple.
285 // SelectArgs<int, tuple<bool, char, double>, 2, 0>::Select(
287 // returns tuple (2.5, true).
514 static Result Perform(Impl* impl, const ::testing::tuple<>& args) {
522 static Result Perform(Impl* impl, const ::testing::tuple<A0>& args) {
530 static Result Perform(Impl* impl, const ::testing::tuple<A0, A1>& args) {
538 static Result Perform(Impl* impl, const ::testing::tuple<A0, A1, A2>& args) {
546 static Result Perform(Impl* impl, const ::testing::tuple<A0, A1, A2,
555 static Result Perform(Impl* impl, const ::testing::tuple<A0, A1, A2, A3,
565 static Result Perform(Impl* impl, const ::testing::tuple<A0, A1, A2, A3, A4,
575 static Result Perform(Impl* impl, const ::testing::tuple<A0, A1, A2, A3, A4,
585 static Result Perform(Impl* impl, const ::testing::tuple<A0, A1, A2, A3, A4,
595 static Result Perform(Impl* impl, const ::testing::tuple<A0, A1, A2, A3, A4,
605 static Result Perform(Impl* impl, const ::testing::tuple<A0, A1, A2, A3, A4,
804 // You can also refer to the entire argument tuple and its type by