(23) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
(23) : error C2143: 语法错误 : 缺少“,”(在“:”的前面)
(23) : error C2530: “sample”: 必须初始化引用
(23) : error C2143: 语法错误 : 缺少“;”(在“{”的前面)
(24) : error C2664: “isNumberString”: 不能将参数 1 从“const int”转换为“const std::string &”
原因如下: 无法从“const int”转换为“const std::string”
无构造函数可以接受源类型,或构造函数重载决策不明确