$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-02-20 16:44:15
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?