'C++ dependency injection with fruit
I have class A and interface IInterface. I need to inject 2 members IInterface into A.
So:
class A {
IInterface* i1;
IInterface* i2;
};
Can I inject 2 members (i1 and i2) into A using fruit DI framework?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
