error: ambiguous overload for 'operator[]'
error: ambiguous overload for ‘operator[]’ (operand types are ‘CConfigTable {aka Json::Value}’ and ‘int’)原因;Json中包含数组的情况下,需要设置数组中内容,用以下方式;alarmout[0][“Name”] = “Noname”;编译报错:error: ambiguous overl...
原创
2019-11-17 14:30:58 ·
8536 阅读 ·
1 评论