Home | History | Annotate | Download | only in fruit

Lines Matching refs:lambda

438    * Registers `provider' as a provider of C, where provider is a lambda with no captures returning either C or C*
461 * registerProvider() can't be called with a plain function, but you can write a lambda that wraps the function to
480 template <typename Lambda>
481 PartialComponent<fruit::impl::RegisterProvider<Lambda>, Bindings...> registerProvider(Lambda lambda);
509 template <typename AnnotatedSignature, typename Lambda>
510 PartialComponent<fruit::impl::RegisterProvider<AnnotatedSignature, Lambda>, Bindings...>
511 registerProvider(Lambda lambda);
690 template <typename Lambda>
691 PartialComponent<fruit::impl::AddMultibindingProvider<Lambda>, Bindings...> addMultibindingProvider(Lambda lambda);
723 * // This vector contains {&x} where x is an instance of Foo constructed using the lambda above, with injected
727 template <typename AnnotatedSignature, typename Lambda>
728 PartialComponent<fruit::impl::AddMultibindingProvider<AnnotatedSignature, Lambda>, Bindings...>
729 addMultibindingProvider(Lambda lambda);
732 * Registers `factory' as a factory of C, where `factory' is a lambda with no captures returning C.
784 * registerFactory() can't be called with a plain function, but you can write a lambda that wraps the function to
843 * A lambda with no captures can also be used as the first argument, for example: