一个关于const 变量作为map键值的Bug
摘要:这里当使用 cons Instance 调用函数时,只可以使用 const Attribute 作为键值,但是 map [] 运算符不是const函数,因此会报错,使用 map 的 at 方法可以避免,因为 既有const 定义,又有非const 定义. "参考"
阅读全文
posted @ 2020-01-16 12:27
posted @ 2020-01-16 12:27
posted @ 2020-01-06 22:17