Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1874)

Unified Diff: base/bind_internal.h

Issue 1507143003: Clean up base::Callback stuff (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/bind.h ('k') | base/callback.h » ('j') | base/callback.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/bind_internal.h
diff --git a/base/bind_internal.h b/base/bind_internal.h
index c6832e6a479ed3da0a386855327de207e6fedca6..312f21b70638858423e6bbd7aaecd2fea30b8ec2 100644
--- a/base/bind_internal.h
+++ b/base/bind_internal.h
@@ -362,17 +362,17 @@ struct Invoker<IndexSequence<bound_indices...>,
//
// BoundArgsType contains the storage type for all the bound arguments by
// (ab)using a function type.
-template <typename Runnable, typename RunType, typename BoundArgList>
+template <typename Runnable, typename RunType, typename... BoundArg>
dcheng 2015/12/08 20:16:46 This should be BoundArgs since there may be more t
tzik 2015/12/09 07:03:15 Done. Also, removed the obsolete comments from lin
struct BindState;
template <typename Runnable,
typename R,
typename... Args,
typename... BoundArgs>
-struct BindState<Runnable, R(Args...), TypeList<BoundArgs...>> final
+struct BindState<Runnable, R(Args...), BoundArgs...> final
: public BindStateBase {
private:
- using StorageType = BindState<Runnable, R(Args...), TypeList<BoundArgs...>>;
+ using StorageType = BindState<Runnable, R(Args...), BoundArgs...>;
using RunnableType = Runnable;
// true_type if Runnable is a method invocation and the first bound argument
« no previous file with comments | « base/bind.h ('k') | base/callback.h » ('j') | base/callback.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698