DescriptionAllow binding captureless lambdas into base::Callback by base::Bind
This CL adds FunctorTraits for captureless lambdas, which is used by
base::Bind impl, so that base::Base accepts captureless lambda as the
target function. Capturing lambdas are still not allowed.
Committed: https://crrev.com/c1db726538e5b85efac5994bf5e90320800b894d
Cr-Commit-Position: refs/heads/master@{#404334}
Patch Set 1 #Patch Set 2 : update #Patch Set 3 : +nocompile test #Patch Set 4 : +comment #Patch Set 5 : fix ! handling #Patch Set 6 : gcc fix #Patch Set 7 : +more test case. comment fix #Patch Set 8 : +comment and link #
Total comments: 4
Patch Set 9 : comment fix. rebase. #
Total comments: 2
Patch Set 10 : s/ExtractLambdaRunType/ExtractCallableRunType/g, s/IsCapturelessLambda/IsConvertibleToRunType/g #Patch Set 11 : comment fix #
Total comments: 2
Patch Set 12 : comment fix. rebase #Patch Set 13 : rebase #
Dependent Patchsets: Messages
Total messages: 24 (10 generated)
|