Home | History | Annotate | Download | only in brillo

Lines Matching refs:Lambda

12 // class specialization that wraps a functor (including lambda objects), so
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) {}
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) {}
49 Lambda lambda_;
52 template <typename Lambda>
54 : public LambdaAdapter<Lambda, decltype(&Lambda::operator())> {
56 explicit RunnableAdapter(Lambda lambda)
57 : LambdaAdapter<Lambda, decltype(&Lambda::operator())>(lambda) {}