【发布时间】:2010-10-25 17:43:45
【问题描述】:
由于没有为 __gnu_cxx 哈希映射定义 std::pair<std::string, unsigned int>,如何使用 std::pair<std::string, unsigned int> 类型的键和 std::pair<int, CBTNODE> 类型的值创建 __gnu_cxx 哈希映射? (CBTNODE 是 typedef 作为 typedef int CBTNODE)
如果可能的话,我真的很想用 typedef-ed INDEX (typedef std::pair<std::string, unsigned int> INDEX) 替换 std::pair<std::string, unsigned int>
任何帮助将不胜感激!
禅宗
【问题讨论】: