修改stl::set相关源码,提供有序属性值的查找接口
摘要:
普通的stl::set,查找时只能传入key_type。 不能使用属性值查找。例如: 1 /* an employee record holds its ID, name and age */ 2 class employee 3 { 4 public: 5 int id; 6 ... 阅读全文
posted @ 2015-02-12 15:45 呆雁 阅读(452) 评论(0) 推荐(0)
浙公网安备 33010602011771号