gcc 4.4 hash_map使用编译错误
使用hash_map插入元素时 key 和value都是int,
报错信息:instantiated from here
/usr/include/c++/4.4/tr1_impl/hashtable_policy.h:769: error: no match for call to ‘(const Cactus::STLAllocator<std::pair<const int, int>, Cactus::GeneralAllocPolicy>) (const int&, const int&)’
疑问:gcc 4.4用的是
__HashMap ::std::tr1::unordered_map
还是
__HashMap ::__gnu_cxx::hash_map