-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of Annotations with Factories #124
Comments
Hi, yes, annotated factories are supported, in
I hope that it clarifies things. |
It helps, thanks. The |
Hi, yes, from the INJECT/ASSISTED markers on the constructor. |
I have been reading and re-reading the wiki as well as the code comments, but I am still very unclear on how Annotations can be used with factory injection (
std::function<std::unique_ptr<T>>
), if that it even supported. The comment onbind()
in component.h says,* All these cases support annotated injection, just wrap I and/or C in fruit::Annotated<> if desired. For example:
The example only shows the simple case. How does it work with factories?
The text was updated successfully, but these errors were encountered: