| Index: base/tuple.h
|
| diff --git a/base/tuple.h b/base/tuple.h
|
| index 5a048586425d4c1c47d14bd0cdf23f3dabc4e14a..96a464266decb2144f47ebdf44c9463d2d88a26d 100644
|
| --- a/base/tuple.h
|
| +++ b/base/tuple.h
|
| @@ -241,11 +241,6 @@ inline Tuple<Ts&...> MakeRefTuple(Ts&... arg) {
|
|
|
| // Non-Static Dispatchers with no out params.
|
|
|
| -template <typename ObjT, typename Method, typename A>
|
| -inline void DispatchToMethod(ObjT* obj, Method method, const A& arg) {
|
| - (obj->*method)(base::internal::UnwrapTraits<A>::Unwrap(arg));
|
| -}
|
| -
|
| template <typename ObjT, typename Method, typename... Ts, size_t... Ns>
|
| inline void DispatchToMethodImpl(ObjT* obj,
|
| Method method,
|
| @@ -263,11 +258,6 @@ inline void DispatchToMethod(ObjT* obj,
|
|
|
| // Static Dispatchers with no out params.
|
|
|
| -template <typename Function, typename A>
|
| -inline void DispatchToMethod(Function function, const A& arg) {
|
| - (*function)(base::internal::UnwrapTraits<A>::Unwrap(arg));
|
| -}
|
| -
|
| template <typename Function, typename... Ts, size_t... Ns>
|
| inline void DispatchToFunctionImpl(Function function,
|
| const Tuple<Ts...>& arg,
|
| @@ -284,29 +274,6 @@ inline void DispatchToFunction(Function function, const Tuple<Ts...>& arg) {
|
|
|
| template <typename ObjT,
|
| typename Method,
|
| - typename In,
|
| - typename... OutTs,
|
| - size_t... OutNs>
|
| -inline void DispatchToMethodImpl(ObjT* obj,
|
| - Method method,
|
| - const In& in,
|
| - Tuple<OutTs...>* out,
|
| - IndexSequence<OutNs...>) {
|
| - (obj->*method)(base::internal::UnwrapTraits<In>::Unwrap(in),
|
| - &get<OutNs>(*out)...);
|
| -}
|
| -
|
| -template <typename ObjT, typename Method, typename In, typename... OutTs>
|
| -inline void DispatchToMethod(ObjT* obj,
|
| - Method method,
|
| - const In& in,
|
| - Tuple<OutTs...>* out) {
|
| - DispatchToMethodImpl(obj, method, in, out,
|
| - MakeIndexSequence<sizeof...(OutTs)>());
|
| -}
|
| -
|
| -template <typename ObjT,
|
| - typename Method,
|
| typename... InTs,
|
| typename... OutTs,
|
| size_t... InNs,
|
|
|