Вопрос

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