20 Feb
2021
20 Feb
'21
4:44 p.m.
Krzysztof Jusiak wrote:
documentation: https://boost-ext.github.io/di/
This brings up one pretty obvious question, what if I have two constructor parameters of the same type: struct X { std::string name; }; struct Y { std::string title; }; struct Z { X x; Y y; }; How do I inject specific values for X::name and Y::title?