易网时代-编程资源站
Welcome
微信登录
首页
/
操作系统
/
Linux
/
G++中使用hash_map<string>的方法
#include <ext/hash_map> using namespace __gnu_cxx; namespace __gnu_cxx { template<> struct hash<string> { size_t operator()(const string& s) const { return __stl_hash_string(s.c_str()); } }; }
版权所有©石家庄振强科技有限公司2024
冀ICP备08103738号-5
网站地图