摘要: struct NoCaseCompare : public std::binary_function<std::string, std::string, bool>{ static bool cmp(char c1, char c2) { return toupper(c1) < toupper(c2); } bool operator()(const std::string& s1, const std::string& s2) const { return lexicographical_compare(s1.beg... 阅读全文
posted @ 2012-03-09 23:29 chengfei164 阅读(171) 评论(0) 推荐(0) 编辑