문제

We are using multimap to store information internally and we want to return a handle to the outside component for future release/removal.

What's the best way to design it? So it is small and fast?

도움이 되었습니까?

해결책

A class wrapping multimap::iterator is the answer as Igor Tandetnik pointed out in the comment

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top