Under the visual C++, we have ” hash_map” and “hash_set”. In g++, we have ” stdext::hash_map” and ” stdext::hash_set”. Is there any difference in terms of their respective performance or other factors?
Under the visual C++, we have hash_map and hash_set. In g++, we have stdext::hash_map
Share
None of those are standards. They were just there to fill a need. Concerning the performances, I have no idea, but I guess they’re really similar.
What existed in TR1, and will be included in C++1X is unordered_map and unordered_set
They say they changed the name to avoid any confusion with previous non-standard implementations.
http://www2.research.att.com/~bs/C++0xFAQ.html#std-unordered