How to replace map to unordered_map #1410
Unanswered
Eagleyangs
asked this question in
Q&A
Replies: 1 comment 2 replies
-
This needs to be more precisely phrased to get an answer. It sounds like you're trying to mess with the internals of |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I replace map with unordered_map, a compilation error occurs indicating that illegal expressions cannot be used.
Modified:
//typedef std::map ObjectValues;
typedef std::unordered_map ObjectValues;
How can I do to make sure it compiles correctly and functions correctly?
Beta Was this translation helpful? Give feedback.
All reactions