unordered_map.find()
时间: 2023-10-15 11:26:39 浏览: 86
unordered_map.find()是一个函数,用于在unordered_map容器中搜索指定的键值。它接受一个参数,即要查找的键值,并返回一个迭代器。如果找到了指定的键值,则返回一个指向该键值的迭代器;如果未找到,则返回一个指向unordered_map.end()的迭代器,表示未找到该键值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [c++unordered_map中的find()查找函数](https://blog.csdn.net/qq_35102059/article/details/122233140)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [unordered_map的find和count函数使用总结](https://blog.csdn.net/qq_33634666/article/details/116279227)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文