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.
我们正在使用 multimap 在内部存储信息,并且我们希望将句柄返回到外部组件以供将来发布/删除。
设计它的最佳方法是什么?所以它又小又快?
multimap::iterator正如 Igor Tandetnik 在评论中指出的那样,类包装是答案
multimap::iterator