Hashtable in C++?

后端 未结 9 883
孤城傲影
孤城傲影 2020-12-02 08:53

I usually use C++ stdlib map whenever I need to store some data associated with a specific type of value (a key value - e.g. a string or other object). The stdlib map implem

9条回答
  •  臣服心动
    2020-12-02 09:43

    There is a hash_map object as many here have mentioned, but it is not part of the stl. It is a SGI extension, so if you were looking for something in the STL, I think you are out of luck.

提交回复
热议问题