Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-02-20 16:44:15

Krzysztof Jusiak wrote:
> documentation:

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?

Boost list run by bdawes at, gregod at, cpdaniel at, john at