错误提示:"hash_map" : 不是 "std" 的成员。
我在网上下载了一个工具包,在编译的时候出现了如下的问题:
******hash_map.hpp(120): error C2039: "hash_map" : 不是 "std" 的成员。
******hash_map.hpp(120): error C2873: "hash_map" : 符号不能用在using 声明中
我检查了一下,在 hash_map.hpp这个文件中确实有这样的语句:
#if defined (_STLPORT_VERSION)
#include <hash_map>
using std::hash;
using std::hash_map;
else....
请问为什么会出现这样的问题,我该怎样解决呢? 谢谢了
我的环境是MS VISUAL STUDIO 2005