Archived
This forum has been archived. Please start a new discussion on GitHub.
How to transfer Freeze Map to MultiMap
in Help Center
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?
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?
0
Comments
-
You can easily emulate a multimap by using a sequence of whatever type you want to store as value type.0
-
Great! Thank you very much!0