Lines Matching full:provider
41 fruit::Provider<XVariant> provider;
54 fruit::Provider<XAnnot> provider;
63 ('X', 'fruit::Provider<X>', 'X', 'X'),
64 ('X', 'fruit::Provider<X>', 'X', 'const X&'),
65 ('X', 'fruit::Provider<X>', 'X', 'const X*'),
66 ('X', 'fruit::Provider<X>', 'X', 'X&'),
67 ('X', 'fruit::Provider<X>', 'X', 'X*'),
68 ('X', 'fruit::Provider<X>', 'X', 'std::shared_ptr<X>'),
69 ('X', 'fruit::Provider<X>', 'X', 'fruit::Provider<X>'),
70 ('X', 'fruit::Provider<X>', 'X', 'fruit::Provider<const X>'),
71 ('X', 'fruit::Provider<const X>', 'const X', 'const X&'),
72 …('fruit::Annotated<Annotation1, X>', 'fruit::Annotated<Annotation1, fruit::Provider<X>>', 'X', 'co…
73 …('fruit::Annotated<Annotation1, X>', 'fruit::Annotated<Annotation1, fruit::Provider<const X>>', 'c…
87 fruit::Provider<XParamInProvider> provider = injector.get<XProviderAnnot>();
89 XProviderGetParam x = provider.get<XProviderGetParam>();
99 ('const X', 'fruit::Provider<const X>', 'const X', 'X'),
100 ('const X', 'fruit::Provider<const X>', 'const X', 'const X&'),
101 ('const X', 'fruit::Provider<const X>', 'const X', 'const X*'),
102 ('const X', 'fruit::Provider<const X>', 'const X', 'fruit::Provider<const X>'),
103 …('fruit::Annotated<Annotation1, const X>', 'fruit::Annotated<Annotation1, fruit::Provider<const X>…
119 fruit::Provider<XParamInProvider> provider = injector.get<XProviderAnnot>();
121 XProviderGetParam x = provider.get<XProviderGetParam>();
140 INJECT(Y(fruit::Provider<X> xProvider))
151 INJECT(Z(fruit::Provider<Y> yProvider))
166 fruit::Provider<Z> provider(injector);
167 // During provider.get<Z>(), yProvider.get() is called, and during that xProvider.get()
169 Z z = provider.get<Z>();
182 void f(fruit::Provider<X> provider) {
183 provider.get<Y>();
188 'Trying to get an instance of T, but it is not provided by this Provider/Injector.',
208 void f(fruit::Provider<X> provider) {
209 provider.get<XVariant>();
223 ('fruit::Provider<X>', 'fruit::Provider<X>'),
227 void f(fruit::Provider<const X> provider) {
228 provider.get<XProviderGetParam>();
233 … 'Trying to get an instance of T, but it is only provided as a constant by this Provider/Injector',
239 ('fruit::Provider<Y>'),
240 ('ANNOTATED(Annotation1, fruit::Provider<Y>)'),
249 INJECT(X(Y_PROVIDER_ANNOT provider)) : provider(provider) {
253 Y* y(provider);
257 fruit::Provider<Y> provider;