A class wrapping multimap::iterator
is the answer as Igor Tandetnik pointed out in the comment
How do I design a handle/identifier for elements inside std::multimap
-
26-06-2022 - |
質問
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?
解決
所属していません StackOverflow