Home | History | Annotate | Download | only in fruit

Lines Matching refs:ASSISTED

28  * It also supports assisted injection and injection of annotated types.
46 * Example usage for assisted injection (see PartialComponent::registerFactory):
50 * INJECT(MyClass(Foo* foo, ASSISTED(int) n) {...}
57 * using Inject = MyClass(Foo*, Assisted<int>);
69 * ASSISTED and ANNOTATED *can* be used together in the same INJECT() annotation, but they can't both be used for a
70 * single parameter (as this wouldn't make sense, parameters that use assisted injection are user-supplied, they aren't
77 * NOTE: ASSISTED takes just one argument, but it's declared as variadic to make sure that the preprocessor doesn't
80 * NOTE: ASSISTED takes just 2 arguments, but it's declared as variadic to make sure that the preprocessor doesn't choke
100 #define ASSISTED(...) FruitAssistedTypedef<__VA_ARGS__>
110 using FruitAssistedTypedef = fruit::Assisted<T>;