Tpot / Publications
Forum
Initialization list (Constructor): ERROR parameter conversion not allowed
Hi there, could someone point out what's preventing this simple code to compile? struct ValueStruct { string field1; ValueStruct( string f1) : field1(f1) {}; }; class Complex3ValueStruct { public : ValueStruct mVs; Complex3ValueStruct(ValueStruct& valueStruct) : mVs(valueStruct)