Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 247 Bytes

exercise_11_34.md

File metadata and controls

5 lines (3 loc) · 247 Bytes

练习11.34:如果你将transform函数中的find替换为下标运算符,会发生什么情况?


当前使用的GCC版本会编译报错,因为传入的map是一个const的,无法使用下标运算符进行插入元素的操作。