Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
find 函数只返回一个指向多图中重复元素的指针。我们如何返回指向 multimap 中其他重复元素的指针。
您可以使用equal_range,它将一对迭代器返回到与键匹配的元素范围。
equal_range