Sorry for being not specific, but...
Suppose I have this struct:
struct OptionData
{
Desc desc;
bool boolValue;
std::string stringValue;
int intValue;
double numberValue;
};
which I'm using this way:
OptionData isWritePatchesOptionData = {isWritePatchesDesc, {}, {}, {}, {}};
As I have lots of those options, I'd like to do s.t. like this:
<type_here> OptionDataList = {{}, {}, {}, {}};
so I can do:
OptionData isSeamCutOptionData = {isSeamCutDesc, OptionDataList};
but really on the spot I can't figure what type_here would be... Or maybe is not possible in this form... I mean, without creating an OptionDataList object into the OptionData struct... but that clearly would be redundant...