diff options
author | Avi Drissman <avi@chromium.org> | 2014-12-23 16:22:37 -0500 |
---|---|---|
committer | Avi Drissman <avi@chromium.org> | 2014-12-23 21:23:52 +0000 |
commit | 85748694f2a119a057088f77f70b97f11607473c (patch) | |
tree | 887c81310a78155c2299a006fe13157c40d64393 /testing/gmock_mutant.h | |
parent | 785a18df526e438b782102518112cefe137be01a (diff) | |
download | chromium_src-85748694f2a119a057088f77f70b97f11607473c.zip chromium_src-85748694f2a119a057088f77f70b97f11607473c.tar.gz chromium_src-85748694f2a119a057088f77f70b97f11607473c.tar.bz2 |
Revert "Update legacy Tuple-using code."
This reverts commit 12f4b98357b9dedc93cb546aac0aece2c8d9e850
BUG=440675, 444827
Review URL: https://codereview.chromium.org/826573002
Cr-Commit-Position: refs/heads/master@{#309583}
Diffstat (limited to 'testing/gmock_mutant.h')
-rw-r--r-- | testing/gmock_mutant.h | 2938 |
1 files changed, 1469 insertions, 1469 deletions
diff --git a/testing/gmock_mutant.h b/testing/gmock_mutant.h index 964d56b..90d303e 100644 --- a/testing/gmock_mutant.h +++ b/testing/gmock_mutant.h @@ -111,306 +111,306 @@ namespace testing { // 0 - 0 template <typename R, typename T, typename Method> inline R DispatchToMethod(T* obj, Method method, - const Tuple<>& p, - const Tuple<>& c) { + const Tuple0& p, + const Tuple0& c) { return (obj->*method)(); } template <typename R, typename Function> inline R DispatchToFunction(Function function, - const Tuple<>& p, - const Tuple<>& c) { + const Tuple0& p, + const Tuple0& c) { return (*function)(); } // 0 - 1 template <typename R, typename T, typename Method, typename C1> inline R DispatchToMethod(T* obj, Method method, - const Tuple<>& p, - const Tuple<C1>& c) { - return (obj->*method)(get<0>(c)); + const Tuple0& p, + const Tuple1<C1>& c) { + return (obj->*method)(c.a); } template <typename R, typename Function, typename C1> inline R DispatchToFunction(Function function, - const Tuple<>& p, - const Tuple<C1>& c) { - return (*function)(get<0>(c)); + const Tuple0& p, + const Tuple1<C1>& c) { + return (*function)(c.a); } // 0 - 2 template <typename R, typename T, typename Method, typename C1, typename C2> inline R DispatchToMethod(T* obj, Method method, - const Tuple<>& p, - const Tuple<C1, C2>& c) { - return (obj->*method)(get<0>(c), get<1>(c)); + const Tuple0& p, + const Tuple2<C1, C2>& c) { + return (obj->*method)(c.a, c.b); } template <typename R, typename Function, typename C1, typename C2> inline R DispatchToFunction(Function function, - const Tuple<>& p, - const Tuple<C1, C2>& c) { - return (*function)(get<0>(c), get<1>(c)); + const Tuple0& p, + const Tuple2<C1, C2>& c) { + return (*function)(c.a, c.b); } // 0 - 3 template <typename R, typename T, typename Method, typename C1, typename C2, typename C3> inline R DispatchToMethod(T* obj, Method method, - const Tuple<>& p, - const Tuple<C1, C2, C3>& c) { - return (obj->*method)(get<0>(c), get<1>(c), get<2>(c)); + const Tuple0& p, + const Tuple3<C1, C2, C3>& c) { + return (obj->*method)(c.a, c.b, c.c); } template <typename R, typename Function, typename C1, typename C2, typename C3> inline R DispatchToFunction(Function function, - const Tuple<>& p, - const Tuple<C1, C2, C3>& c) { - return (*function)(get<0>(c), get<1>(c), get<2>(c)); + const Tuple0& p, + const Tuple3<C1, C2, C3>& c) { + return (*function)(c.a, c.b, c.c); } // 0 - 4 template <typename R, typename T, typename Method, typename C1, typename C2, typename C3, typename C4> inline R DispatchToMethod(T* obj, Method method, - const Tuple<>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (obj->*method)(get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple0& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (obj->*method)(c.a, c.b, c.c, c.d); } template <typename R, typename Function, typename C1, typename C2, typename C3, typename C4> inline R DispatchToFunction(Function function, - const Tuple<>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (*function)(get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple0& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (*function)(c.a, c.b, c.c, c.d); } // 0 - 5 template <typename R, typename T, typename Method, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToMethod(T* obj, Method method, - const Tuple<>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (obj->*method)(get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple0& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (obj->*method)(c.a, c.b, c.c, c.d, c.e); } template <typename R, typename Function, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToFunction(Function function, - const Tuple<>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (*function)(get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple0& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (*function)(c.a, c.b, c.c, c.d, c.e); } // 0 - 6 template <typename R, typename T, typename Method, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToMethod(T* obj, Method method, - const Tuple<>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (obj->*method)(get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple0& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (obj->*method)(c.a, c.b, c.c, c.d, c.e, c.f); } template <typename R, typename Function, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToFunction(Function function, - const Tuple<>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (*function)(get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple0& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (*function)(c.a, c.b, c.c, c.d, c.e, c.f); } // 1 - 0 template <typename R, typename T, typename Method, typename P1> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1>& p, - const Tuple<>& c) { - return (obj->*method)(get<0>(p)); + const Tuple1<P1>& p, + const Tuple0& c) { + return (obj->*method)(p.a); } template <typename R, typename Function, typename P1> inline R DispatchToFunction(Function function, - const Tuple<P1>& p, - const Tuple<>& c) { - return (*function)(get<0>(p)); + const Tuple1<P1>& p, + const Tuple0& c) { + return (*function)(p.a); } // 1 - 1 template <typename R, typename T, typename Method, typename P1, typename C1> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1>& p, - const Tuple<C1>& c) { - return (obj->*method)(get<0>(p), get<0>(c)); + const Tuple1<P1>& p, + const Tuple1<C1>& c) { + return (obj->*method)(p.a, c.a); } template <typename R, typename Function, typename P1, typename C1> inline R DispatchToFunction(Function function, - const Tuple<P1>& p, - const Tuple<C1>& c) { - return (*function)(get<0>(p), get<0>(c)); + const Tuple1<P1>& p, + const Tuple1<C1>& c) { + return (*function)(p.a, c.a); } // 1 - 2 template <typename R, typename T, typename Method, typename P1, typename C1, typename C2> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1>& p, - const Tuple<C1, C2>& c) { - return (obj->*method)(get<0>(p), get<0>(c), get<1>(c)); + const Tuple1<P1>& p, + const Tuple2<C1, C2>& c) { + return (obj->*method)(p.a, c.a, c.b); } template <typename R, typename Function, typename P1, typename C1, typename C2> inline R DispatchToFunction(Function function, - const Tuple<P1>& p, - const Tuple<C1, C2>& c) { - return (*function)(get<0>(p), get<0>(c), get<1>(c)); + const Tuple1<P1>& p, + const Tuple2<C1, C2>& c) { + return (*function)(p.a, c.a, c.b); } // 1 - 3 template <typename R, typename T, typename Method, typename P1, typename C1, typename C2, typename C3> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1>& p, - const Tuple<C1, C2, C3>& c) { - return (obj->*method)(get<0>(p), get<0>(c), get<1>(c), get<2>(c)); + const Tuple1<P1>& p, + const Tuple3<C1, C2, C3>& c) { + return (obj->*method)(p.a, c.a, c.b, c.c); } template <typename R, typename Function, typename P1, typename C1, typename C2, typename C3> inline R DispatchToFunction(Function function, - const Tuple<P1>& p, - const Tuple<C1, C2, C3>& c) { - return (*function)(get<0>(p), get<0>(c), get<1>(c), get<2>(c)); + const Tuple1<P1>& p, + const Tuple3<C1, C2, C3>& c) { + return (*function)(p.a, c.a, c.b, c.c); } // 1 - 4 template <typename R, typename T, typename Method, typename P1, typename C1, typename C2, typename C3, typename C4> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (obj->*method)(get<0>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple1<P1>& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (obj->*method)(p.a, c.a, c.b, c.c, c.d); } template <typename R, typename Function, typename P1, typename C1, typename C2, typename C3, typename C4> inline R DispatchToFunction(Function function, - const Tuple<P1>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (*function)(get<0>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple1<P1>& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (*function)(p.a, c.a, c.b, c.c, c.d); } // 1 - 5 template <typename R, typename T, typename Method, typename P1, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (obj->*method)(get<0>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple1<P1>& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (obj->*method)(p.a, c.a, c.b, c.c, c.d, c.e); } template <typename R, typename Function, typename P1, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToFunction(Function function, - const Tuple<P1>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (*function)(get<0>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple1<P1>& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (*function)(p.a, c.a, c.b, c.c, c.d, c.e); } // 1 - 6 template <typename R, typename T, typename Method, typename P1, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (obj->*method)(get<0>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple1<P1>& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (obj->*method)(p.a, c.a, c.b, c.c, c.d, c.e, c.f); } template <typename R, typename Function, typename P1, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToFunction(Function function, - const Tuple<P1>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (*function)(get<0>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple1<P1>& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (*function)(p.a, c.a, c.b, c.c, c.d, c.e, c.f); } // 2 - 0 template <typename R, typename T, typename Method, typename P1, typename P2> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2>& p, - const Tuple<>& c) { - return (obj->*method)(get<0>(p), get<1>(p)); + const Tuple2<P1, P2>& p, + const Tuple0& c) { + return (obj->*method)(p.a, p.b); } template <typename R, typename Function, typename P1, typename P2> inline R DispatchToFunction(Function function, - const Tuple<P1, P2>& p, - const Tuple<>& c) { - return (*function)(get<0>(p), get<1>(p)); + const Tuple2<P1, P2>& p, + const Tuple0& c) { + return (*function)(p.a, p.b); } // 2 - 1 template <typename R, typename T, typename Method, typename P1, typename P2, typename C1> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2>& p, - const Tuple<C1>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<0>(c)); + const Tuple2<P1, P2>& p, + const Tuple1<C1>& c) { + return (obj->*method)(p.a, p.b, c.a); } template <typename R, typename Function, typename P1, typename P2, typename C1> inline R DispatchToFunction(Function function, - const Tuple<P1, P2>& p, - const Tuple<C1>& c) { - return (*function)(get<0>(p), get<1>(p), get<0>(c)); + const Tuple2<P1, P2>& p, + const Tuple1<C1>& c) { + return (*function)(p.a, p.b, c.a); } // 2 - 2 template <typename R, typename T, typename Method, typename P1, typename P2, typename C1, typename C2> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2>& p, - const Tuple<C1, C2>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<0>(c), get<1>(c)); + const Tuple2<P1, P2>& p, + const Tuple2<C1, C2>& c) { + return (obj->*method)(p.a, p.b, c.a, c.b); } template <typename R, typename Function, typename P1, typename P2, typename C1, typename C2> inline R DispatchToFunction(Function function, - const Tuple<P1, P2>& p, - const Tuple<C1, C2>& c) { - return (*function)(get<0>(p), get<1>(p), get<0>(c), get<1>(c)); + const Tuple2<P1, P2>& p, + const Tuple2<C1, C2>& c) { + return (*function)(p.a, p.b, c.a, c.b); } // 2 - 3 template <typename R, typename T, typename Method, typename P1, typename P2, typename C1, typename C2, typename C3> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2>& p, - const Tuple<C1, C2, C3>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<0>(c), get<1>(c), get<2>(c)); + const Tuple2<P1, P2>& p, + const Tuple3<C1, C2, C3>& c) { + return (obj->*method)(p.a, p.b, c.a, c.b, c.c); } template <typename R, typename Function, typename P1, typename P2, typename C1, typename C2, typename C3> inline R DispatchToFunction(Function function, - const Tuple<P1, P2>& p, - const Tuple<C1, C2, C3>& c) { - return (*function)(get<0>(p), get<1>(p), get<0>(c), get<1>(c), get<2>(c)); + const Tuple2<P1, P2>& p, + const Tuple3<C1, C2, C3>& c) { + return (*function)(p.a, p.b, c.a, c.b, c.c); } // 2 - 4 template <typename R, typename T, typename Method, typename P1, typename P2, typename C1, typename C2, typename C3, typename C4> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple2<P1, P2>& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (obj->*method)(p.a, p.b, c.a, c.b, c.c, c.d); } template <typename R, typename Function, typename P1, typename P2, typename C1, typename C2, typename C3, typename C4> inline R DispatchToFunction(Function function, - const Tuple<P1, P2>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (*function)(get<0>(p), get<1>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple2<P1, P2>& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (*function)(p.a, p.b, c.a, c.b, c.c, c.d); } // 2 - 5 template <typename R, typename T, typename Method, typename P1, typename P2, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple2<P1, P2>& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (obj->*method)(p.a, p.b, c.a, c.b, c.c, c.d, c.e); } template <typename R, typename Function, typename P1, typename P2, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToFunction(Function function, - const Tuple<P1, P2>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (*function)(get<0>(p), get<1>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple2<P1, P2>& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (*function)(p.a, p.b, c.a, c.b, c.c, c.d, c.e); } // 2 - 6 @@ -418,95 +418,95 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple2<P1, P2>& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (obj->*method)(p.a, p.b, c.a, c.b, c.c, c.d, c.e, c.f); } template <typename R, typename Function, typename P1, typename P2, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToFunction(Function function, - const Tuple<P1, P2>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (*function)(get<0>(p), get<1>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple2<P1, P2>& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (*function)(p.a, p.b, c.a, c.b, c.c, c.d, c.e, c.f); } // 3 - 0 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3>& p, - const Tuple<>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p)); + const Tuple3<P1, P2, P3>& p, + const Tuple0& c) { + return (obj->*method)(p.a, p.b, p.c); } template <typename R, typename Function, typename P1, typename P2, typename P3> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3>& p, - const Tuple<>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p)); + const Tuple3<P1, P2, P3>& p, + const Tuple0& c) { + return (*function)(p.a, p.b, p.c); } // 3 - 1 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename C1> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3>& p, - const Tuple<C1>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<0>(c)); + const Tuple3<P1, P2, P3>& p, + const Tuple1<C1>& c) { + return (obj->*method)(p.a, p.b, p.c, c.a); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename C1> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3>& p, - const Tuple<C1>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<0>(c)); + const Tuple3<P1, P2, P3>& p, + const Tuple1<C1>& c) { + return (*function)(p.a, p.b, p.c, c.a); } // 3 - 2 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename C1, typename C2> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3>& p, - const Tuple<C1, C2>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<0>(c), get<1>(c)); + const Tuple3<P1, P2, P3>& p, + const Tuple2<C1, C2>& c) { + return (obj->*method)(p.a, p.b, p.c, c.a, c.b); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename C1, typename C2> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3>& p, - const Tuple<C1, C2>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<0>(c), get<1>(c)); + const Tuple3<P1, P2, P3>& p, + const Tuple2<C1, C2>& c) { + return (*function)(p.a, p.b, p.c, c.a, c.b); } // 3 - 3 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename C1, typename C2, typename C3> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3>& p, - const Tuple<C1, C2, C3>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<0>(c), get<1>(c), get<2>(c)); + const Tuple3<P1, P2, P3>& p, + const Tuple3<C1, C2, C3>& c) { + return (obj->*method)(p.a, p.b, p.c, c.a, c.b, c.c); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename C1, typename C2, typename C3> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3>& p, - const Tuple<C1, C2, C3>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<0>(c), get<1>(c), get<2>(c)); + const Tuple3<P1, P2, P3>& p, + const Tuple3<C1, C2, C3>& c) { + return (*function)(p.a, p.b, p.c, c.a, c.b, c.c); } // 3 - 4 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename C1, typename C2, typename C3, typename C4> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple3<P1, P2, P3>& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (obj->*method)(p.a, p.b, p.c, c.a, c.b, c.c, c.d); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename C1, typename C2, typename C3, typename C4> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple3<P1, P2, P3>& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (*function)(p.a, p.b, p.c, c.a, c.b, c.c, c.d); } // 3 - 5 @@ -514,16 +514,16 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple3<P1, P2, P3>& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (obj->*method)(p.a, p.b, p.c, c.a, c.b, c.c, c.d, c.e); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple3<P1, P2, P3>& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (*function)(p.a, p.b, p.c, c.a, c.b, c.c, c.d, c.e); } // 3 - 6 @@ -531,81 +531,81 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple3<P1, P2, P3>& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (obj->*method)(p.a, p.b, p.c, c.a, c.b, c.c, c.d, c.e, c.f); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple3<P1, P2, P3>& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (*function)(p.a, p.b, p.c, c.a, c.b, c.c, c.d, c.e, c.f); } // 4 - 0 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple0& c) { + return (obj->*method)(p.a, p.b, p.c, p.d); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple0& c) { + return (*function)(p.a, p.b, p.c, p.d); } // 4 - 1 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename C1> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<C1>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<0>(c)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple1<C1>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, c.a); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename C1> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<C1>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<0>(c)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple1<C1>& c) { + return (*function)(p.a, p.b, p.c, p.d, c.a); } // 4 - 2 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename C1, typename C2> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<C1, C2>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<0>(c), get<1>(c)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple2<C1, C2>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, c.a, c.b); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename C1, typename C2> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<C1, C2>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<0>(c), get<1>(c)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple2<C1, C2>& c) { + return (*function)(p.a, p.b, p.c, p.d, c.a, c.b); } // 4 - 3 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename C1, typename C2, typename C3> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<C1, C2, C3>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<0>(c), get<1>(c), get<2>(c)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple3<C1, C2, C3>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, c.a, c.b, c.c); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename C1, typename C2, typename C3> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<C1, C2, C3>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<0>(c), get<1>(c), get<2>(c)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple3<C1, C2, C3>& c) { + return (*function)(p.a, p.b, p.c, p.d, c.a, c.b, c.c); } // 4 - 4 @@ -613,16 +613,16 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename C1, typename C2, typename C3, typename C4> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, c.a, c.b, c.c, c.d); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename C1, typename C2, typename C3, typename C4> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (*function)(p.a, p.b, p.c, p.d, c.a, c.b, c.c, c.d); } // 4 - 5 @@ -630,17 +630,17 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, c.a, c.b, c.c, c.d, c.e); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (*function)(p.a, p.b, p.c, p.d, c.a, c.b, c.c, c.d, c.e); } // 4 - 6 @@ -648,65 +648,65 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, c.a, c.b, c.c, c.d, c.e, c.f); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple4<P1, P2, P3, P4>& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (*function)(p.a, p.b, p.c, p.d, c.a, c.b, c.c, c.d, c.e, c.f); } // 5 - 0 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple0& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple0& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e); } // 5 - 1 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5, typename C1> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<C1>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<0>(c)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple1<C1>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e, c.a); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5, typename C1> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<C1>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<0>(c)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple1<C1>& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e, c.a); } // 5 - 2 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5, typename C1, typename C2> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<C1, C2>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<0>(c), get<1>(c)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple2<C1, C2>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e, c.a, c.b); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5, typename C1, typename C2> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<C1, C2>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<0>(c), get<1>(c)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple2<C1, C2>& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e, c.a, c.b); } // 5 - 3 @@ -714,16 +714,16 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5, typename C1, typename C2, typename C3> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<C1, C2, C3>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<0>(c), get<1>(c), get<2>(c)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple3<C1, C2, C3>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e, c.a, c.b, c.c); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5, typename C1, typename C2, typename C3> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<C1, C2, C3>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<0>(c), get<1>(c), get<2>(c)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple3<C1, C2, C3>& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e, c.a, c.b, c.c); } // 5 - 4 @@ -731,17 +731,17 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5, typename C1, typename C2, typename C3, typename C4> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e, c.a, c.b, c.c, c.d); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5, typename C1, typename C2, typename C3, typename C4> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e, c.a, c.b, c.c, c.d); } // 5 - 5 @@ -749,17 +749,17 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e, c.a, c.b, c.c, c.d, c.e); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e, c.a, c.b, c.c, c.d, c.e); } // 5 - 6 @@ -767,49 +767,49 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e, c.a, c.b, c.c, c.d, c.e, c.f); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple5<P1, P2, P3, P4, P5>& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e, c.a, c.b, c.c, c.d, c.e, c.f); } // 6 - 0 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple0& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e, p.f); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple0& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e, p.f); } // 6 - 1 template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename C1> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<C1>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p), get<0>(c)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple1<C1>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e, p.f, c.a); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename C1> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<C1>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p), get<0>(c)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple1<C1>& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e, p.f, c.a); } // 6 - 2 @@ -817,16 +817,16 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename C1, typename C2> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<C1, C2>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p), get<0>(c), get<1>(c)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple2<C1, C2>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e, p.f, c.a, c.b); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename C1, typename C2> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<C1, C2>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p), get<0>(c), get<1>(c)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple2<C1, C2>& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e, p.f, c.a, c.b); } // 6 - 3 @@ -834,17 +834,17 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename C1, typename C2, typename C3> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<C1, C2, C3>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p), get<0>(c), get<1>(c), get<2>(c)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple3<C1, C2, C3>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e, p.f, c.a, c.b, c.c); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename C1, typename C2, typename C3> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<C1, C2, C3>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p), get<0>(c), get<1>(c), get<2>(c)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple3<C1, C2, C3>& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e, p.f, c.a, c.b, c.c); } // 6 - 4 @@ -852,17 +852,17 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename C1, typename C2, typename C3, typename C4> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e, p.f, c.a, c.b, c.c, c.d); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename C1, typename C2, typename C3, typename C4> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<C1, C2, C3, C4>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple4<C1, C2, C3, C4>& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e, p.f, c.a, c.b, c.c, c.d); } // 6 - 5 @@ -870,17 +870,17 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e, p.f, c.a, c.b, c.c, c.d, c.e); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename C1, typename C2, typename C3, typename C4, typename C5> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<C1, C2, C3, C4, C5>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple5<C1, C2, C3, C4, C5>& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e, p.f, c.a, c.b, c.c, c.d, c.e); } // 6 - 6 @@ -888,17 +888,17 @@ template <typename R, typename T, typename Method, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToMethod(T* obj, Method method, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (obj->*method)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (obj->*method)(p.a, p.b, p.c, p.d, p.e, p.f, c.a, c.b, c.c, c.d, c.e, c.f); } template <typename R, typename Function, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6> inline R DispatchToFunction(Function function, - const Tuple<P1, P2, P3, P4, P5, P6>& p, - const Tuple<C1, C2, C3, C4, C5, C6>& c) { - return (*function)(get<0>(p), get<1>(p), get<2>(p), get<3>(p), get<4>(p), get<5>(p), get<0>(c), get<1>(c), get<2>(c), get<3>(c), get<4>(c), get<5>(c)); + const Tuple6<P1, P2, P3, P4, P5, P6>& p, + const Tuple6<C1, C2, C3, C4, C5, C6>& c) { + return (*function)(p.a, p.b, p.c, p.d, p.e, p.f, c.a, c.b, c.c, c.d, c.e, c.f); } // Interface that is exposed to the consumer, that does the actual calling @@ -984,7 +984,7 @@ struct MutantFunctor { } inline R operator()() { - return impl_->RunWithParams(Tuple<>()); + return impl_->RunWithParams(Tuple0()); } template <typename Arg1> @@ -1017,198 +1017,198 @@ struct MutantFunctor { // 0 - 0 template <typename R, typename T, typename U> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (U::*method)()) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (U::*)(), - Tuple<>, Tuple<>> + Tuple0, Tuple0> (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (*function)()) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (*)(), - Tuple<>, Tuple<>> + Tuple0, Tuple0> (function, MakeTuple()); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (U::*method)()) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (U::*)(), - Tuple<>, Tuple<>> + Tuple0, Tuple0> (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (__stdcall U::*method)()) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (__stdcall U::*)(), - Tuple<>, Tuple<>> + Tuple0, Tuple0> (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (__stdcall *function)()) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (__stdcall *)(), - Tuple<>, Tuple<>> + Tuple0, Tuple0> (function, MakeTuple()); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (__stdcall U::*method)()) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(), - Tuple<>, Tuple<>> + Tuple0, Tuple0> (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) // 0 - 1 template <typename R, typename T, typename U, typename A1> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (U::*method)(A1)) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (U::*)(A1), - Tuple<>, Tuple<A1>> + Tuple0, Tuple1<A1> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename A1> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (*function)(A1)) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (*)(A1), - Tuple<>, Tuple<A1>> + Tuple0, Tuple1<A1> > (function, MakeTuple()); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename A1> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (U::*method)(A1)) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (U::*)(A1), - Tuple<>, Tuple<A1>> + Tuple0, Tuple1<A1> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename A1> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (__stdcall U::*method)(A1)) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (__stdcall U::*)(A1), - Tuple<>, Tuple<A1>> + Tuple0, Tuple1<A1> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename A1> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (__stdcall *function)(A1)) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (__stdcall *)(A1), - Tuple<>, Tuple<A1>> + Tuple0, Tuple1<A1> > (function, MakeTuple()); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename A1> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (__stdcall U::*method)(A1)) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(A1), - Tuple<>, Tuple<A1>> + Tuple0, Tuple1<A1> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) // 0 - 2 template <typename R, typename T, typename U, typename A1, typename A2> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (U::*method)(A1, A2)) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (U::*)(A1, A2), - Tuple<>, Tuple<A1, A2>> + Tuple0, Tuple2<A1, A2> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename A1, typename A2> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (*function)(A1, A2)) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (*)(A1, A2), - Tuple<>, Tuple<A1, A2>> + Tuple0, Tuple2<A1, A2> > (function, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename A1, typename A2> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (U::*method)(A1, A2)) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (U::*)(A1, A2), - Tuple<>, Tuple<A1, A2>> + Tuple0, Tuple2<A1, A2> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename A1, typename A2> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (__stdcall U::*method)(A1, A2)) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (__stdcall U::*)(A1, A2), - Tuple<>, Tuple<A1, A2>> + Tuple0, Tuple2<A1, A2> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename A1, typename A2> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (__stdcall *function)(A1, A2)) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (__stdcall *)(A1, A2), - Tuple<>, Tuple<A1, A2>> + Tuple0, Tuple2<A1, A2> > (function, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename A1, typename A2> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (__stdcall U::*method)(A1, A2)) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(A1, A2), - Tuple<>, Tuple<A1, A2>> + Tuple0, Tuple2<A1, A2> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -1216,69 +1216,69 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(A1, A2)) { // 0 - 3 template <typename R, typename T, typename U, typename A1, typename A2, typename A3> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (U::*method)(A1, A2, A3)) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (U::*)(A1, A2, A3), - Tuple<>, Tuple<A1, A2, A3>> + Tuple0, Tuple3<A1, A2, A3> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename A1, typename A2, typename A3> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (*function)(A1, A2, A3)) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (*)(A1, A2, A3), - Tuple<>, Tuple<A1, A2, A3>> + Tuple0, Tuple3<A1, A2, A3> > (function, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename A1, typename A2, typename A3> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (U::*method)(A1, A2, A3)) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (U::*)(A1, A2, A3), - Tuple<>, Tuple<A1, A2, A3>> + Tuple0, Tuple3<A1, A2, A3> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename A1, typename A2, typename A3> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (__stdcall U::*method)(A1, A2, A3)) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (__stdcall U::*)(A1, A2, A3), - Tuple<>, Tuple<A1, A2, A3>> + Tuple0, Tuple3<A1, A2, A3> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename A1, typename A2, typename A3> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (__stdcall *function)(A1, A2, A3)) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (__stdcall *)(A1, A2, A3), - Tuple<>, Tuple<A1, A2, A3>> + Tuple0, Tuple3<A1, A2, A3> > (function, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename A1, typename A2, typename A3> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (__stdcall U::*method)(A1, A2, A3)) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(A1, A2, A3), - Tuple<>, Tuple<A1, A2, A3>> + Tuple0, Tuple3<A1, A2, A3> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -1286,69 +1286,69 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(A1, A2, A3)) { // 0 - 4 template <typename R, typename T, typename U, typename A1, typename A2, typename A3, typename A4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (U::*method)(A1, A2, A3, A4)) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (U::*)(A1, A2, A3, A4), - Tuple<>, Tuple<A1, A2, A3, A4>> + Tuple0, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename A1, typename A2, typename A3, typename A4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (*function)(A1, A2, A3, A4)) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (*)(A1, A2, A3, A4), - Tuple<>, Tuple<A1, A2, A3, A4>> + Tuple0, Tuple4<A1, A2, A3, A4> > (function, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename A1, typename A2, typename A3, typename A4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (U::*method)(A1, A2, A3, A4)) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (U::*)(A1, A2, A3, A4), - Tuple<>, Tuple<A1, A2, A3, A4>> + Tuple0, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename A1, typename A2, typename A3, typename A4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (__stdcall U::*method)(A1, A2, A3, A4)) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (__stdcall U::*)(A1, A2, A3, A4), - Tuple<>, Tuple<A1, A2, A3, A4>> + Tuple0, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename A1, typename A2, typename A3, typename A4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (__stdcall *function)(A1, A2, A3, A4)) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (__stdcall *)(A1, A2, A3, A4), - Tuple<>, Tuple<A1, A2, A3, A4>> + Tuple0, Tuple4<A1, A2, A3, A4> > (function, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename A1, typename A2, typename A3, typename A4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (__stdcall U::*method)(A1, A2, A3, A4)) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(A1, A2, A3, A4), - Tuple<>, Tuple<A1, A2, A3, A4>> + Tuple0, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -1356,71 +1356,71 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(A1, A2, A3, A4)) { // 0 - 5 template <typename R, typename T, typename U, typename A1, typename A2, typename A3, typename A4, typename A5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (U::*method)(A1, A2, A3, A4, A5)) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (U::*)(A1, A2, A3, A4, A5), - Tuple<>, Tuple<A1, A2, A3, A4, A5>> + Tuple0, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename A1, typename A2, typename A3, typename A4, typename A5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (*function)(A1, A2, A3, A4, A5)) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (*)(A1, A2, A3, A4, A5), - Tuple<>, Tuple<A1, A2, A3, A4, A5>> + Tuple0, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename A1, typename A2, typename A3, typename A4, typename A5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (U::*method)(A1, A2, A3, A4, A5)) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (U::*)(A1, A2, A3, A4, A5), - Tuple<>, Tuple<A1, A2, A3, A4, A5>> + Tuple0, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename A1, typename A2, typename A3, typename A4, typename A5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (__stdcall U::*method)(A1, A2, A3, A4, A5)) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (__stdcall U::*)(A1, A2, A3, A4, A5), - Tuple<>, Tuple<A1, A2, A3, A4, A5>> + Tuple0, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename A1, typename A2, typename A3, typename A4, typename A5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (__stdcall *function)(A1, A2, A3, A4, A5)) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (__stdcall *)(A1, A2, A3, A4, A5), - Tuple<>, Tuple<A1, A2, A3, A4, A5>> + Tuple0, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename A1, typename A2, typename A3, typename A4, typename A5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (__stdcall U::*method)(A1, A2, A3, A4, A5)) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(A1, A2, A3, A4, A5), - Tuple<>, Tuple<A1, A2, A3, A4, A5>> + Tuple0, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -1428,137 +1428,137 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(A1, A2, A3, A4, A5)) { // 0 - 6 template <typename R, typename T, typename U, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (U::*method)(A1, A2, A3, A4, A5, A6)) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (U::*)(A1, A2, A3, A4, A5, A6), - Tuple<>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple0, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (*function)(A1, A2, A3, A4, A5, A6)) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (*)(A1, A2, A3, A4, A5, A6), - Tuple<>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple0, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (U::*method)(A1, A2, A3, A4, A5, A6)) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (U::*)(A1, A2, A3, A4, A5, A6), - Tuple<>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple0, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (__stdcall U::*method)(A1, A2, A3, A4, A5, A6)) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (__stdcall U::*)(A1, A2, A3, A4, A5, A6), - Tuple<>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple0, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (__stdcall *function)(A1, A2, A3, A4, A5, A6)) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (__stdcall *)(A1, A2, A3, A4, A5, A6), - Tuple<>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple0, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (__stdcall U::*method)(A1, A2, A3, A4, A5, A6)) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(A1, A2, A3, A4, A5, A6), - Tuple<>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple0, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple()); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) // 1 - 0 template <typename R, typename T, typename U, typename P1, typename X1> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (U::*method)(X1), const P1& p1) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (U::*)(X1), - Tuple<P1>, Tuple<>> + Tuple1<P1>, Tuple0> (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R, typename P1, typename X1> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (*function)(X1), const P1& p1) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (*)(X1), - Tuple<P1>, Tuple<>> + Tuple1<P1>, Tuple0> (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename X1> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (U::*method)(X1), const P1& p1) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (U::*)(X1), - Tuple<P1>, Tuple<>> + Tuple1<P1>, Tuple0> (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename P1, typename X1> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (__stdcall U::*method)(X1), const P1& p1) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (__stdcall U::*)(X1), - Tuple<P1>, Tuple<>> + Tuple1<P1>, Tuple0> (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R, typename P1, typename X1> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (__stdcall *function)(X1), const P1& p1) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (__stdcall *)(X1), - Tuple<P1>, Tuple<>> + Tuple1<P1>, Tuple0> (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename X1> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (__stdcall U::*method)(X1), const P1& p1) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1), - Tuple<P1>, Tuple<>> + Tuple1<P1>, Tuple0> (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -1566,69 +1566,69 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1), const P1& p1) { // 1 - 1 template <typename R, typename T, typename U, typename P1, typename A1, typename X1> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (U::*method)(X1, A1), const P1& p1) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (U::*)(X1, A1), - Tuple<P1>, Tuple<A1>> + Tuple1<P1>, Tuple1<A1> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename P1, typename A1, typename X1> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (*function)(X1, A1), const P1& p1) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (*)(X1, A1), - Tuple<P1>, Tuple<A1>> + Tuple1<P1>, Tuple1<A1> > (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename A1, typename X1> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (U::*method)(X1, A1), const P1& p1) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, A1), - Tuple<P1>, Tuple<A1>> + Tuple1<P1>, Tuple1<A1> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename P1, typename A1, typename X1> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, A1), const P1& p1) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, A1), - Tuple<P1>, Tuple<A1>> + Tuple1<P1>, Tuple1<A1> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename P1, typename A1, typename X1> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (__stdcall *function)(X1, A1), const P1& p1) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (__stdcall *)(X1, A1), - Tuple<P1>, Tuple<A1>> + Tuple1<P1>, Tuple1<A1> > (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename A1, typename X1> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, A1), const P1& p1) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, A1), - Tuple<P1>, Tuple<A1>> + Tuple1<P1>, Tuple1<A1> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -1636,69 +1636,69 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, A1), const P1& p1) { // 1 - 2 template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename X1> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (U::*method)(X1, A1, A2), const P1& p1) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (U::*)(X1, A1, A2), - Tuple<P1>, Tuple<A1, A2>> + Tuple1<P1>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename P1, typename A1, typename A2, typename X1> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (*function)(X1, A1, A2), const P1& p1) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (*)(X1, A1, A2), - Tuple<P1>, Tuple<A1, A2>> + Tuple1<P1>, Tuple2<A1, A2> > (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename X1> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (U::*method)(X1, A1, A2), const P1& p1) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, A1, A2), - Tuple<P1>, Tuple<A1, A2>> + Tuple1<P1>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename X1> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, A1, A2), const P1& p1) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, A1, A2), - Tuple<P1>, Tuple<A1, A2>> + Tuple1<P1>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename P1, typename A1, typename A2, typename X1> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (__stdcall *function)(X1, A1, A2), const P1& p1) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (__stdcall *)(X1, A1, A2), - Tuple<P1>, Tuple<A1, A2>> + Tuple1<P1>, Tuple2<A1, A2> > (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename X1> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, A1, A2), const P1& p1) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, A1, A2), - Tuple<P1>, Tuple<A1, A2>> + Tuple1<P1>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -1706,71 +1706,71 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, A1, A2), const P1& p1) { // 1 - 3 template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (U::*method)(X1, A1, A2, A3), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (U::*)(X1, A1, A2, A3), - Tuple<P1>, Tuple<A1, A2, A3>> + Tuple1<P1>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename P1, typename A1, typename A2, typename A3, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (*function)(X1, A1, A2, A3), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (*)(X1, A1, A2, A3), - Tuple<P1>, Tuple<A1, A2, A3>> + Tuple1<P1>, Tuple3<A1, A2, A3> > (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (U::*method)(X1, A1, A2, A3), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, A1, A2, A3), - Tuple<P1>, Tuple<A1, A2, A3>> + Tuple1<P1>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, A1, A2, A3), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, A1, A2, A3), - Tuple<P1>, Tuple<A1, A2, A3>> + Tuple1<P1>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename P1, typename A1, typename A2, typename A3, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (__stdcall *function)(X1, A1, A2, A3), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (__stdcall *)(X1, A1, A2, A3), - Tuple<P1>, Tuple<A1, A2, A3>> + Tuple1<P1>, Tuple3<A1, A2, A3> > (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, A1, A2, A3), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, A1, A2, A3), - Tuple<P1>, Tuple<A1, A2, A3>> + Tuple1<P1>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -1778,73 +1778,73 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, A1, A2, A3), const P1& p1) { // 1 - 4 template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename A4, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (U::*method)(X1, A1, A2, A3, A4), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (U::*)(X1, A1, A2, A3, A4), - Tuple<P1>, Tuple<A1, A2, A3, A4>> + Tuple1<P1>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename P1, typename A1, typename A2, typename A3, typename A4, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (*function)(X1, A1, A2, A3, A4), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (*)(X1, A1, A2, A3, A4), - Tuple<P1>, Tuple<A1, A2, A3, A4>> + Tuple1<P1>, Tuple4<A1, A2, A3, A4> > (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename A4, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (U::*method)(X1, A1, A2, A3, A4), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, A1, A2, A3, A4), - Tuple<P1>, Tuple<A1, A2, A3, A4>> + Tuple1<P1>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename A4, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, A1, A2, A3, A4), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, A1, A2, A3, A4), - Tuple<P1>, Tuple<A1, A2, A3, A4>> + Tuple1<P1>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename P1, typename A1, typename A2, typename A3, typename A4, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (__stdcall *function)(X1, A1, A2, A3, A4), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (__stdcall *)(X1, A1, A2, A3, A4), - Tuple<P1>, Tuple<A1, A2, A3, A4>> + Tuple1<P1>, Tuple4<A1, A2, A3, A4> > (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename A4, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, A1, A2, A3, A4), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, A1, A2, A3, A4), - Tuple<P1>, Tuple<A1, A2, A3, A4>> + Tuple1<P1>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -1852,73 +1852,73 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, A1, A2, A3, A4), // 1 - 5 template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (U::*method)(X1, A1, A2, A3, A4, A5), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (U::*)(X1, A1, A2, A3, A4, A5), - Tuple<P1>, Tuple<A1, A2, A3, A4, A5>> + Tuple1<P1>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename P1, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (*function)(X1, A1, A2, A3, A4, A5), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (*)(X1, A1, A2, A3, A4, A5), - Tuple<P1>, Tuple<A1, A2, A3, A4, A5>> + Tuple1<P1>, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (U::*method)(X1, A1, A2, A3, A4, A5), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, A1, A2, A3, A4, A5), - Tuple<P1>, Tuple<A1, A2, A3, A4, A5>> + Tuple1<P1>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, A1, A2, A3, A4, A5), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, A1, A2, A3, A4, A5), - Tuple<P1>, Tuple<A1, A2, A3, A4, A5>> + Tuple1<P1>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename P1, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (__stdcall *function)(X1, A1, A2, A3, A4, A5), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (__stdcall *)(X1, A1, A2, A3, A4, A5), - Tuple<P1>, Tuple<A1, A2, A3, A4, A5>> + Tuple1<P1>, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, A1, A2, A3, A4, A5), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, A1, A2, A3, A4, A5), - Tuple<P1>, Tuple<A1, A2, A3, A4, A5>> + Tuple1<P1>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -1927,39 +1927,39 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, A1, A2, A3, A4, A5), template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (U::*method)(X1, A1, A2, A3, A4, A5, A6), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (U::*)(X1, A1, A2, A3, A4, A5, A6), - Tuple<P1>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple1<P1>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename P1, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (*function)(X1, A1, A2, A3, A4, A5, A6), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (*)(X1, A1, A2, A3, A4, A5, A6), - Tuple<P1>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple1<P1>, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (U::*method)(X1, A1, A2, A3, A4, A5, A6), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, A1, A2, A3, A4, A5, A6), - Tuple<P1>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple1<P1>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -1967,39 +1967,39 @@ CreateFunctor(T** obj, R (U::*method)(X1, A1, A2, A3, A4, A5, A6), template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, A1, A2, A3, A4, A5, A6), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, A1, A2, A3, A4, A5, A6), - Tuple<P1>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple1<P1>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename P1, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (__stdcall *function)(X1, A1, A2, A3, A4, A5, A6), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (__stdcall *)(X1, A1, A2, A3, A4, A5, A6), - Tuple<P1>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple1<P1>, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, A1, A2, A3, A4, A5, A6), const P1& p1) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, A1, A2, A3, A4, A5, A6), - Tuple<P1>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple1<P1>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -2007,71 +2007,71 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, A1, A2, A3, A4, A5, A6), // 2 - 0 template <typename R, typename T, typename U, typename P1, typename P2, typename X1, typename X2> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (U::*method)(X1, X2), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (U::*)(X1, X2), - Tuple<P1, P2>, Tuple<>> + Tuple2<P1, P2>, Tuple0> (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R, typename P1, typename P2, typename X1, typename X2> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (*function)(X1, X2), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (*)(X1, X2), - Tuple<P1, P2>, Tuple<>> + Tuple2<P1, P2>, Tuple0> (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename X1, typename X2> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (U::*method)(X1, X2), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2), - Tuple<P1, P2>, Tuple<>> + Tuple2<P1, P2>, Tuple0> (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename P1, typename P2, typename X1, typename X2> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2), - Tuple<P1, P2>, Tuple<>> + Tuple2<P1, P2>, Tuple0> (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R, typename P1, typename P2, typename X1, typename X2> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (__stdcall *function)(X1, X2), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (__stdcall *)(X1, X2), - Tuple<P1, P2>, Tuple<>> + Tuple2<P1, P2>, Tuple0> (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename X1, typename X2> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2), - Tuple<P1, P2>, Tuple<>> + Tuple2<P1, P2>, Tuple0> (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -2079,74 +2079,74 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2), const P1& p1, // 2 - 1 template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (U::*method)(X1, X2, A1), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (U::*)(X1, X2, A1), - Tuple<P1, P2>, Tuple<A1>> + Tuple2<P1, P2>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename P1, typename P2, typename A1, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (*function)(X1, X2, A1), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (*)(X1, X2, A1), - Tuple<P1, P2>, Tuple<A1>> + Tuple2<P1, P2>, Tuple1<A1> > (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (U::*method)(X1, X2, A1), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, A1), - Tuple<P1, P2>, Tuple<A1>> + Tuple2<P1, P2>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, A1), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, A1), - Tuple<P1, P2>, Tuple<A1>> + Tuple2<P1, P2>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename P1, typename P2, typename A1, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (__stdcall *function)(X1, X2, A1), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, A1), - Tuple<P1, P2>, Tuple<A1>> + Tuple2<P1, P2>, Tuple1<A1> > (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, A1), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, A1), - Tuple<P1, P2>, Tuple<A1>> + Tuple2<P1, P2>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -2154,76 +2154,76 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, A1), const P1& p1, // 2 - 2 template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (U::*method)(X1, X2, A1, A2), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (U::*)(X1, X2, A1, A2), - Tuple<P1, P2>, Tuple<A1, A2>> + Tuple2<P1, P2>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename P1, typename P2, typename A1, typename A2, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (*function)(X1, X2, A1, A2), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (*)(X1, X2, A1, A2), - Tuple<P1, P2>, Tuple<A1, A2>> + Tuple2<P1, P2>, Tuple2<A1, A2> > (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (U::*method)(X1, X2, A1, A2), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, A1, A2), - Tuple<P1, P2>, Tuple<A1, A2>> + Tuple2<P1, P2>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, A1, A2), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, A1, A2), - Tuple<P1, P2>, Tuple<A1, A2>> + Tuple2<P1, P2>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename P1, typename P2, typename A1, typename A2, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (__stdcall *function)(X1, X2, A1, A2), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, A1, A2), - Tuple<P1, P2>, Tuple<A1, A2>> + Tuple2<P1, P2>, Tuple2<A1, A2> > (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, A1, A2), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, A1, A2), - Tuple<P1, P2>, Tuple<A1, A2>> + Tuple2<P1, P2>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -2231,76 +2231,76 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, A1, A2), const P1& p1, // 2 - 3 template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (U::*method)(X1, X2, A1, A2, A3), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (U::*)(X1, X2, A1, A2, A3), - Tuple<P1, P2>, Tuple<A1, A2, A3>> + Tuple2<P1, P2>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename P1, typename P2, typename A1, typename A2, typename A3, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (*function)(X1, X2, A1, A2, A3), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (*)(X1, X2, A1, A2, A3), - Tuple<P1, P2>, Tuple<A1, A2, A3>> + Tuple2<P1, P2>, Tuple3<A1, A2, A3> > (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (U::*method)(X1, X2, A1, A2, A3), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, A1, A2, A3), - Tuple<P1, P2>, Tuple<A1, A2, A3>> + Tuple2<P1, P2>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, A1, A2, A3), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, A1, A2, A3), - Tuple<P1, P2>, Tuple<A1, A2, A3>> + Tuple2<P1, P2>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename P1, typename P2, typename A1, typename A2, typename A3, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (__stdcall *function)(X1, X2, A1, A2, A3), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, A1, A2, A3), - Tuple<P1, P2>, Tuple<A1, A2, A3>> + Tuple2<P1, P2>, Tuple3<A1, A2, A3> > (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, A1, A2, A3), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, A1, A2, A3), - Tuple<P1, P2>, Tuple<A1, A2, A3>> + Tuple2<P1, P2>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -2309,40 +2309,40 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, A1, A2, A3), template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (U::*method)(X1, X2, A1, A2, A3, A4), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (U::*)(X1, X2, A1, A2, A3, A4), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4>> + Tuple2<P1, P2>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (*function)(X1, X2, A1, A2, A3, A4), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (*)(X1, X2, A1, A2, A3, A4), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4>> + Tuple2<P1, P2>, Tuple4<A1, A2, A3, A4> > (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (U::*method)(X1, X2, A1, A2, A3, A4), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, A1, A2, A3, A4), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4>> + Tuple2<P1, P2>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -2350,39 +2350,39 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, A1, A2, A3, A4), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, A1, A2, A3, A4), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, A1, A2, A3, A4), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4>> + Tuple2<P1, P2>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (__stdcall *function)(X1, X2, A1, A2, A3, A4), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, A1, A2, A3, A4), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4>> + Tuple2<P1, P2>, Tuple4<A1, A2, A3, A4> > (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, A1, A2, A3, A4), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, A1, A2, A3, A4), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4>> + Tuple2<P1, P2>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -2391,40 +2391,40 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, A1, A2, A3, A4), template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (U::*method)(X1, X2, A1, A2, A3, A4, A5), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (U::*)(X1, X2, A1, A2, A3, A4, A5), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4, A5>> + Tuple2<P1, P2>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (*function)(X1, X2, A1, A2, A3, A4, A5), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (*)(X1, X2, A1, A2, A3, A4, A5), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4, A5>> + Tuple2<P1, P2>, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (U::*method)(X1, X2, A1, A2, A3, A4, A5), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, A1, A2, A3, A4, A5), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4, A5>> + Tuple2<P1, P2>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -2432,39 +2432,39 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, A1, A2, A3, A4, A5), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, A1, A2, A3, A4, A5), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, A1, A2, A3, A4, A5), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4, A5>> + Tuple2<P1, P2>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (__stdcall *function)(X1, X2, A1, A2, A3, A4, A5), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, A1, A2, A3, A4, A5), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4, A5>> + Tuple2<P1, P2>, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, A1, A2, A3, A4, A5), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, A1, A2, A3, A4, A5), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4, A5>> + Tuple2<P1, P2>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -2473,41 +2473,41 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, A1, A2, A3, A4, A5), template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (U::*method)(X1, X2, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (U::*)(X1, X2, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple2<P1, P2>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (*function)(X1, X2, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (*)(X1, X2, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple2<P1, P2>, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (U::*method)(X1, X2, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple2<P1, P2>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -2515,40 +2515,40 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, A1, A2, A3, A4, A5, A6), template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple2<P1, P2>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (__stdcall *function)(X1, X2, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple2<P1, P2>, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple2<P1, P2>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -2556,77 +2556,77 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, A1, A2, A3, A4, A5, A6), // 3 - 0 template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (U::*method)(X1, X2, X3), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (U::*)(X1, X2, X3), - Tuple<P1, P2, P3>, Tuple<>> + Tuple3<P1, P2, P3>, Tuple0> (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R, typename P1, typename P2, typename P3, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (*function)(X1, X2, X3), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (*)(X1, X2, X3), - Tuple<P1, P2, P3>, Tuple<>> + Tuple3<P1, P2, P3>, Tuple0> (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (U::*method)(X1, X2, X3), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3), - Tuple<P1, P2, P3>, Tuple<>> + Tuple3<P1, P2, P3>, Tuple0> (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3), - Tuple<P1, P2, P3>, Tuple<>> + Tuple3<P1, P2, P3>, Tuple0> (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R, typename P1, typename P2, typename P3, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (__stdcall *function)(X1, X2, X3), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3), - Tuple<P1, P2, P3>, Tuple<>> + Tuple3<P1, P2, P3>, Tuple0> (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3), - Tuple<P1, P2, P3>, Tuple<>> + Tuple3<P1, P2, P3>, Tuple0> (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -2634,77 +2634,77 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3), const P1& p1, // 3 - 1 template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, A1), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, A1), - Tuple<P1, P2, P3>, Tuple<A1>> + Tuple3<P1, P2, P3>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename P1, typename P2, typename P3, typename A1, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (*function)(X1, X2, X3, A1), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (*)(X1, X2, X3, A1), - Tuple<P1, P2, P3>, Tuple<A1>> + Tuple3<P1, P2, P3>, Tuple1<A1> > (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, A1), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, A1), - Tuple<P1, P2, P3>, Tuple<A1>> + Tuple3<P1, P2, P3>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #if defined (OS_WIN) && !defined (ARCH_CPU_X86_64) template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, A1), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, A1), - Tuple<P1, P2, P3>, Tuple<A1>> + Tuple3<P1, P2, P3>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename P1, typename P2, typename P3, typename A1, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, A1), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, A1), - Tuple<P1, P2, P3>, Tuple<A1>> + Tuple3<P1, P2, P3>, Tuple1<A1> > (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, A1), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, A1), - Tuple<P1, P2, P3>, Tuple<A1>> + Tuple3<P1, P2, P3>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -2713,40 +2713,40 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, A1), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, A1, A2), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, A1, A2), - Tuple<P1, P2, P3>, Tuple<A1, A2>> + Tuple3<P1, P2, P3>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename P1, typename P2, typename P3, typename A1, typename A2, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (*function)(X1, X2, X3, A1, A2), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (*)(X1, X2, X3, A1, A2), - Tuple<P1, P2, P3>, Tuple<A1, A2>> + Tuple3<P1, P2, P3>, Tuple2<A1, A2> > (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, A1, A2), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, A1, A2), - Tuple<P1, P2, P3>, Tuple<A1, A2>> + Tuple3<P1, P2, P3>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -2754,39 +2754,39 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, A1, A2), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, A1, A2), - Tuple<P1, P2, P3>, Tuple<A1, A2>> + Tuple3<P1, P2, P3>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename P1, typename P2, typename P3, typename A1, typename A2, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, A1, A2), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, A1, A2), - Tuple<P1, P2, P3>, Tuple<A1, A2>> + Tuple3<P1, P2, P3>, Tuple2<A1, A2> > (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, A1, A2), - Tuple<P1, P2, P3>, Tuple<A1, A2>> + Tuple3<P1, P2, P3>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -2795,40 +2795,40 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2), template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, A1, A2, A3), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3>> + Tuple3<P1, P2, P3>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (*function)(X1, X2, X3, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (*)(X1, X2, X3, A1, A2, A3), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3>> + Tuple3<P1, P2, P3>, Tuple3<A1, A2, A3> > (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, A1, A2, A3), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3>> + Tuple3<P1, P2, P3>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -2836,39 +2836,39 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, A1, A2, A3), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, A1, A2, A3), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3>> + Tuple3<P1, P2, P3>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, A1, A2, A3), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3>> + Tuple3<P1, P2, P3>, Tuple3<A1, A2, A3> > (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, A1, A2, A3), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3>> + Tuple3<P1, P2, P3>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -2877,41 +2877,41 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2, A3), template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, A1, A2, A3, A4), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4>> + Tuple3<P1, P2, P3>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (*function)(X1, X2, X3, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (*)(X1, X2, X3, A1, A2, A3, A4), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4>> + Tuple3<P1, P2, P3>, Tuple4<A1, A2, A3, A4> > (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, A1, A2, A3, A4), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4>> + Tuple3<P1, P2, P3>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -2919,40 +2919,40 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, A1, A2, A3, A4), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, A1, A2, A3, A4), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4>> + Tuple3<P1, P2, P3>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, A1, A2, A3, A4), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4>> + Tuple3<P1, P2, P3>, Tuple4<A1, A2, A3, A4> > (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, A1, A2, A3, A4), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4>> + Tuple3<P1, P2, P3>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -2961,41 +2961,41 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2, A3, A4), template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4, A5>> + Tuple3<P1, P2, P3>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (*function)(X1, X2, X3, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (*)(X1, X2, X3, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4, A5>> + Tuple3<P1, P2, P3>, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4, A5>> + Tuple3<P1, P2, P3>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3003,40 +3003,40 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, A1, A2, A3, A4, A5), template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4, A5>> + Tuple3<P1, P2, P3>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4, A5>> + Tuple3<P1, P2, P3>, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4, A5>> + Tuple3<P1, P2, P3>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -3045,41 +3045,41 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2, A3, A4, A5), template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple3<P1, P2, P3>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (*function)(X1, X2, X3, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (*)(X1, X2, X3, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple3<P1, P2, P3>, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple3<P1, P2, P3>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3087,40 +3087,40 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, A1, A2, A3, A4, A5, A6), template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple3<P1, P2, P3>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple3<P1, P2, P3>, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple3<P1, P2, P3>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -3129,40 +3129,40 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, A1, A2, A3, A4, A5, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4), - Tuple<P1, P2, P3, P4>, Tuple<>> + Tuple4<P1, P2, P3, P4>, Tuple0> (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (*function)(X1, X2, X3, X4), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (*)(X1, X2, X3, X4), - Tuple<P1, P2, P3, P4>, Tuple<>> + Tuple4<P1, P2, P3, P4>, Tuple0> (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4), - Tuple<P1, P2, P3, P4>, Tuple<>> + Tuple4<P1, P2, P3, P4>, Tuple0> (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3170,39 +3170,39 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4), - Tuple<P1, P2, P3, P4>, Tuple<>> + Tuple4<P1, P2, P3, P4>, Tuple0> (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4), - Tuple<P1, P2, P3, P4>, Tuple<>> + Tuple4<P1, P2, P3, P4>, Tuple0> (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4), - Tuple<P1, P2, P3, P4>, Tuple<>> + Tuple4<P1, P2, P3, P4>, Tuple0> (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -3211,40 +3211,40 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, A1), - Tuple<P1, P2, P3, P4>, Tuple<A1>> + Tuple4<P1, P2, P3, P4>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename A1, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (*function)(X1, X2, X3, X4, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, A1), - Tuple<P1, P2, P3, P4>, Tuple<A1>> + Tuple4<P1, P2, P3, P4>, Tuple1<A1> > (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, A1), - Tuple<P1, P2, P3, P4>, Tuple<A1>> + Tuple4<P1, P2, P3, P4>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3252,39 +3252,39 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, A1), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, A1), - Tuple<P1, P2, P3, P4>, Tuple<A1>> + Tuple4<P1, P2, P3, P4>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename A1, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, A1), - Tuple<P1, P2, P3, P4>, Tuple<A1>> + Tuple4<P1, P2, P3, P4>, Tuple1<A1> > (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, A1), - Tuple<P1, P2, P3, P4>, Tuple<A1>> + Tuple4<P1, P2, P3, P4>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -3293,41 +3293,41 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1), template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, A1, A2), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2>> + Tuple4<P1, P2, P3, P4>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (*function)(X1, X2, X3, X4, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, A1, A2), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2>> + Tuple4<P1, P2, P3, P4>, Tuple2<A1, A2> > (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, A1, A2), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2>> + Tuple4<P1, P2, P3, P4>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3335,40 +3335,40 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, A1, A2), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, A1, A2), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2>> + Tuple4<P1, P2, P3, P4>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, A1, A2), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2>> + Tuple4<P1, P2, P3, P4>, Tuple2<A1, A2> > (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, A1, A2), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2>> + Tuple4<P1, P2, P3, P4>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -3377,41 +3377,41 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1, A2), template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, A1, A2, A3), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3>> + Tuple4<P1, P2, P3, P4>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (*function)(X1, X2, X3, X4, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, A1, A2, A3), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3>> + Tuple4<P1, P2, P3, P4>, Tuple3<A1, A2, A3> > (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, A1, A2, A3), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3>> + Tuple4<P1, P2, P3, P4>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3419,40 +3419,40 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, A1, A2, A3), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, A1, A2, A3), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3>> + Tuple4<P1, P2, P3, P4>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, A1, A2, A3), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3>> + Tuple4<P1, P2, P3, P4>, Tuple3<A1, A2, A3> > (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, A1, A2, A3), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3>> + Tuple4<P1, P2, P3, P4>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -3461,41 +3461,41 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1, A2, A3), template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4>> + Tuple4<P1, P2, P3, P4>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (*function)(X1, X2, X3, X4, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4>> + Tuple4<P1, P2, P3, P4>, Tuple4<A1, A2, A3, A4> > (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4>> + Tuple4<P1, P2, P3, P4>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3503,40 +3503,40 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, A1, A2, A3, A4), template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4>> + Tuple4<P1, P2, P3, P4>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4>> + Tuple4<P1, P2, P3, P4>, Tuple4<A1, A2, A3, A4> > (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4>> + Tuple4<P1, P2, P3, P4>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -3546,27 +3546,27 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4, A5>> + Tuple4<P1, P2, P3, P4>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (*function)(X1, X2, X3, X4, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4, A5>> + Tuple4<P1, P2, P3, P4>, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3574,14 +3574,14 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4, A5>> + Tuple4<P1, P2, P3, P4>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3590,41 +3590,41 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4, A5>> + Tuple4<P1, P2, P3, P4>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4, A5>> + Tuple4<P1, P2, P3, P4>, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4, A5>> + Tuple4<P1, P2, P3, P4>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -3634,27 +3634,27 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple4<P1, P2, P3, P4>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (*function)(X1, X2, X3, X4, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple4<P1, P2, P3, P4>, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3662,14 +3662,14 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple4<P1, P2, P3, P4>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3678,41 +3678,41 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple4<P1, P2, P3, P4>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple4<P1, P2, P3, P4>, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple4<P1, P2, P3, P4>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3, p4)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -3721,41 +3721,41 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, A1, A2, A3, A4, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5), - Tuple<P1, P2, P3, P4, P5>, Tuple<>> + Tuple5<P1, P2, P3, P4, P5>, Tuple0> (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (*function)(X1, X2, X3, X4, X5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5), - Tuple<P1, P2, P3, P4, P5>, Tuple<>> + Tuple5<P1, P2, P3, P4, P5>, Tuple0> (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5), - Tuple<P1, P2, P3, P4, P5>, Tuple<>> + Tuple5<P1, P2, P3, P4, P5>, Tuple0> (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3763,40 +3763,40 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5), - Tuple<P1, P2, P3, P4, P5>, Tuple<>> + Tuple5<P1, P2, P3, P4, P5>, Tuple0> (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5), - Tuple<P1, P2, P3, P4, P5>, Tuple<>> + Tuple5<P1, P2, P3, P4, P5>, Tuple0> (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5), - Tuple<P1, P2, P3, P4, P5>, Tuple<>> + Tuple5<P1, P2, P3, P4, P5>, Tuple0> (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -3805,41 +3805,41 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5), template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5, A1), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1>> + Tuple5<P1, P2, P3, P4, P5>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (*function)(X1, X2, X3, X4, X5, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5, A1), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1>> + Tuple5<P1, P2, P3, P4, P5>, Tuple1<A1> > (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5, A1), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1>> + Tuple5<P1, P2, P3, P4, P5>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3847,40 +3847,40 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, A1), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, A1), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1>> + Tuple5<P1, P2, P3, P4, P5>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5, A1), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1>> + Tuple5<P1, P2, P3, P4, P5>, Tuple1<A1> > (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, A1), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1>> + Tuple5<P1, P2, P3, P4, P5>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -3889,41 +3889,41 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1), template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5, A1, A2), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2>> + Tuple5<P1, P2, P3, P4, P5>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (*function)(X1, X2, X3, X4, X5, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5, A1, A2), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2>> + Tuple5<P1, P2, P3, P4, P5>, Tuple2<A1, A2> > (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5, A1, A2), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2>> + Tuple5<P1, P2, P3, P4, P5>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -3931,40 +3931,40 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, A1, A2), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, A1, A2), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2>> + Tuple5<P1, P2, P3, P4, P5>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5, A1, A2), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2>> + Tuple5<P1, P2, P3, P4, P5>, Tuple2<A1, A2> > (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, A1, A2), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2>> + Tuple5<P1, P2, P3, P4, P5>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -3974,27 +3974,27 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5, A1, A2, A3), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3>> + Tuple5<P1, P2, P3, P4, P5>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (*function)(X1, X2, X3, X4, X5, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5, A1, A2, A3), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3>> + Tuple5<P1, P2, P3, P4, P5>, Tuple3<A1, A2, A3> > (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4002,14 +4002,14 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5, A1, A2, A3), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3>> + Tuple5<P1, P2, P3, P4, P5>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4018,41 +4018,41 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, A1, A2, A3), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3>> + Tuple5<P1, P2, P3, P4, P5>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5, A1, A2, A3), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3>> + Tuple5<P1, P2, P3, P4, P5>, Tuple3<A1, A2, A3> > (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, A1, A2, A3), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3>> + Tuple5<P1, P2, P3, P4, P5>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -4062,27 +4062,27 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4>> + Tuple5<P1, P2, P3, P4, P5>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (*function)(X1, X2, X3, X4, X5, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4>> + Tuple5<P1, P2, P3, P4, P5>, Tuple4<A1, A2, A3, A4> > (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4090,14 +4090,14 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4>> + Tuple5<P1, P2, P3, P4, P5>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4106,43 +4106,43 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4>> + Tuple5<P1, P2, P3, P4, P5>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4>> + Tuple5<P1, P2, P3, P4, P5>, Tuple4<A1, A2, A3, A4> > (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4>> + Tuple5<P1, P2, P3, P4, P5>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -4152,28 +4152,28 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4, A5>> + Tuple5<P1, P2, P3, P4, P5>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (*function)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4, A5>> + Tuple5<P1, P2, P3, P4, P5>, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4181,14 +4181,14 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4, A5>> + Tuple5<P1, P2, P3, P4, P5>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4197,44 +4197,44 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4, A5>> + Tuple5<P1, P2, P3, P4, P5>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4, A5>> + Tuple5<P1, P2, P3, P4, P5>, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4, A5>> + Tuple5<P1, P2, P3, P4, P5>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -4244,29 +4244,29 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple5<P1, P2, P3, P4, P5>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (*function)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple5<P1, P2, P3, P4, P5>, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4274,15 +4274,15 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple5<P1, P2, P3, P4, P5>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4291,45 +4291,45 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple5<P1, P2, P3, P4, P5>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple5<P1, P2, P3, P4, P5>, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4, typename X5> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4, P5>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple5<P1, P2, P3, P4, P5>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3, p4, p5)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -4338,41 +4338,41 @@ CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, A1, A2, A3, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5, X6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5, X6), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple0> (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (*function)(X1, X2, X3, X4, X5, X6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5, X6), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple0> (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, X6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5, X6), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple0> (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4380,42 +4380,42 @@ CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, X6), const P1& p1, template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple0> (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5, X6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5, X6), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple0> (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<>> +inline MutantFunctor<R, Tuple0> CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<>>* t = + MutantRunner<R, Tuple0>* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple0> (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<>>(t); + return MutantFunctor<R, Tuple0>(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -4425,27 +4425,27 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5, X6, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5, X6, A1), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (*function)(X1, X2, X3, X4, X5, X6, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5, X6, A1), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple1<A1> > (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4453,14 +4453,14 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, X6, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5, X6, A1), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4469,43 +4469,43 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6, A1), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5, X6, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5, X6, A1), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple1<A1> > (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1>> +inline MutantFunctor<R, Tuple1<A1> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6, A1), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1>>* t = + MutantRunner<R, Tuple1<A1> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6, A1), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple1<A1> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1>>(t); + return MutantFunctor<R, Tuple1<A1> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -4515,28 +4515,28 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5, X6, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5, X6, A1, A2), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (*function)(X1, X2, X3, X4, X5, X6, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5, X6, A1, A2), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple2<A1, A2> > (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4544,15 +4544,15 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, X6, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5, X6, A1, A2), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4561,44 +4561,44 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6, A1, A2), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5, X6, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5, X6, A1, A2), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple2<A1, A2> > (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2>> +inline MutantFunctor<R, Tuple2<A1, A2> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6, A1, A2), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2>>* t = + MutantRunner<R, Tuple2<A1, A2> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6, A1, A2), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple2<A1, A2> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2>>(t); + return MutantFunctor<R, Tuple2<A1, A2> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -4608,29 +4608,29 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (*function)(X1, X2, X3, X4, X5, X6, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5, X6, A1, A2, A3), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple3<A1, A2, A3> > (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4638,15 +4638,15 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4655,45 +4655,45 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5, X6, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5, X6, A1, A2, A3), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple3<A1, A2, A3> > (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3>> +inline MutantFunctor<R, Tuple3<A1, A2, A3> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3>>* t = + MutantRunner<R, Tuple3<A1, A2, A3> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple3<A1, A2, A3> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3>>(t); + return MutantFunctor<R, Tuple3<A1, A2, A3> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -4703,30 +4703,30 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (*function)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple4<A1, A2, A3, A4> > (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4734,15 +4734,15 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4751,45 +4751,45 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple4<A1, A2, A3, A4> > (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4>> +inline MutantFunctor<R, Tuple4<A1, A2, A3, A4> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4>>* t = + MutantRunner<R, Tuple4<A1, A2, A3, A4> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple4<A1, A2, A3, A4> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4>>(t); + return MutantFunctor<R, Tuple4<A1, A2, A3, A4> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -4799,30 +4799,30 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4, A5>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (*function)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4, A5>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4830,15 +4830,15 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4, A5>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4847,45 +4847,45 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4, A5>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4, A5>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple5<A1, A2, A3, A4, A5> > (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename A5, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>> +inline MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5>>* t = + MutantRunner<R, Tuple5<A1, A2, A3, A4, A5> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4, A5>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple5<A1, A2, A3, A4, A5> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5>>(t); + return MutantFunctor<R, Tuple5<A1, A2, A3, A4, A5> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) @@ -4896,30 +4896,30 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (*function)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4928,15 +4928,15 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING @@ -4946,30 +4946,30 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T* obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new Mutant<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } template <typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(R (__stdcall *function)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantFunction<R, R (__stdcall *)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple6<A1, A2, A3, A4, A5, A6> > (function, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #ifdef GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING template <typename R, typename T, typename U, typename P1, typename P2, @@ -4977,15 +4977,15 @@ template <typename R, typename T, typename U, typename P1, typename P2, typename A2, typename A3, typename A4, typename A5, typename A6, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6> -inline MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>> +inline MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> > CreateFunctor(T** obj, R (__stdcall U::*method)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5, A6), const P1& p1, const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6) { - MutantRunner<R, Tuple<A1, A2, A3, A4, A5, A6>>* t = + MutantRunner<R, Tuple6<A1, A2, A3, A4, A5, A6> >* t = new MutantLateObjectBind<R, T, R (__stdcall U::*)(X1, X2, X3, X4, X5, X6, A1, A2, A3, A4, A5, A6), - Tuple<P1, P2, P3, P4, P5, P6>, Tuple<A1, A2, A3, A4, A5, A6>> + Tuple6<P1, P2, P3, P4, P5, P6>, Tuple6<A1, A2, A3, A4, A5, A6> > (obj, method, MakeTuple(p1, p2, p3, p4, p5, p6)); - return MutantFunctor<R, Tuple<A1, A2, A3, A4, A5, A6>>(t); + return MutantFunctor<R, Tuple6<A1, A2, A3, A4, A5, A6> >(t); } #endif // GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING #endif // defined (OS_WIN) && !defined (ARCH_CPU_X86_64) |