Skip to content
败犬日报
Search
K
Main Navigation
Home
About
Latest
Appearance
Menu
Return to top
On this page
败犬日报 2025-02-26
1. 为什么 map.operator[] 设计成找不到会给个默认值
1. 为什么
map.operator[]
设计成找不到会给个默认值
方便
map[x] = y
map[x]++
这样的代码。