Index: base/tuple.h |
diff --git a/base/tuple.h b/base/tuple.h |
index 13d8722eb31b59ec84c8c3870a9f90a4c365cd8d..65d0908a0fad0bd963bbc58bd071ef854c98dc14 100644 |
--- a/base/tuple.h |
+++ b/base/tuple.h |
@@ -590,6 +590,13 @@ inline void DispatchToMethod(ObjT* obj, Method method, |
(obj->*method)(arg.a, arg.b, arg.c, arg.d, arg.e, arg.f, arg.g); |
} |
+template<class ObjT, class Method, class A, class B, class C, class D, class E, |
+ class F, class G, class H> |
+inline void DispatchToMethod(ObjT* obj, Method method, |
+ const Tuple8<A, B, C, D, E, F, G, H>& arg) { |
+ (obj->*method)(arg.a, arg.b, arg.c, arg.d, arg.e, arg.f, arg.g, arg.h); |
+} |
+ |
// Static Dispatchers with no out params. |
template <class Function> |