OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ASSISTED
(Results
1 - 2
of
2
) sorted by null
/external/google-fruit/examples/scaling_doubles/
scaler.cpp
30
INJECT(ScalerImpl(
ASSISTED
(double) factor, Multiplier* multiplier)) : multiplier(multiplier), factor(factor) {}
/external/google-fruit/include/fruit/
macro.h
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>
[
all
...]
Completed in 349 milliseconds