我在 VS2005 中编写了一个 C++ 项目,并使用了很多带有附加 STL 的 STL 容器。但是,我发现VS2005中的STL里面没有hash_map,我想用SGI hash_map。如何更改我的项目以使用 SGI STL?
感谢 Brian 的方法,它有效!而且很简单。
最佳答案
VS2005 确实有一个 hash_map:
#include <hash_map>
stdext::hash_map
如果您仍然想要,可以 download the sgi stl here .您应该能够将包含目录设置为 sgi 位置。它将优先于 VC++ 全局包含目录。
关于c++ - 如何在VS2005中使用sgi hash_table?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/257797/