multimap find() return 存在多个具有相同键的对象是什么意思?
What does multimap find() return in existence of multple objects with same Key?
multimap find(key) 是否保证 return 是第一个带有键“key”的元素的迭代器?
我在任何地方的文档中都找不到合适的答案。
std::multimap::find(key)
returns 任何 元素上的迭代器,其键比较等于 key
:
Finds an element with key equivalent to key. If there are several elements with key in the container, any of them may be returned.
multimap find(key) 是否保证 return 是第一个带有键“key”的元素的迭代器? 我在任何地方的文档中都找不到合适的答案。
std::multimap::find(key)
returns 任何 元素上的迭代器,其键比较等于 key
:
Finds an element with key equivalent to key. If there are several elements with key in the container, any of them may be returned.