Map 可以通过键进行索引(一种查找操作)。可以使用 C 数组运算符、at() 函数或 find() 函数。它们在处理不存在的键时有所不同。

Last modified: Thursday, 30 January 2025, 2:48 PM