Lines Matching refs:Lambda
25 template <typename Lambda, typename Sig>
29 template <typename Lambda, typename R, typename... Args>
30 class LambdaAdapter<Lambda, R(Lambda::*)(Args... args)> {
33 explicit LambdaAdapter(Lambda lambda) : lambda_(lambda) {} in LambdaAdapter()
37 Lambda lambda_;
41 template <typename Lambda, typename R, typename... Args>
42 class LambdaAdapter<Lambda, R(Lambda::*)(Args... args) const> {
45 explicit LambdaAdapter(Lambda lambda) : lambda_(lambda) {} in LambdaAdapter()
49 Lambda lambda_;
52 template <typename Lambda>
54 : public LambdaAdapter<Lambda, decltype(&Lambda::operator())> {
56 explicit RunnableAdapter(Lambda lambda) in RunnableAdapter()
57 : LambdaAdapter<Lambda, decltype(&Lambda::operator())>(lambda) {} in RunnableAdapter()