Archived

This forum has been archived. Please start a new discussion on GitHub.

How to transfer Freeze Map to MultiMap

Hello,
I am using Ice-2.1.1 for C++, I found that Freeze Map resembles STL map not STL multimap, but sometimes we use Berkeley DB with duplicated key, and in this condition, Freeze Map resembles STL multimap maybe a better way. How do you think? Have you already implemented it? And if I want to rewrite the Freeze codes, what do I need to do?

Comments

  • marc
    marc Florida
    You can easily emulate a multimap by using a sequence of whatever type you want to store as value type.
  • Great! Thank you very much!