26 struct ci_less : std::binary_function<std::string,std::string,bool>
30 bool operator()(
const char c1,
const char c2)
const {
return tolower(c1)<tolower(c2); }
33 return std::lexicographical_compare(s1.begin(),s1.end(), s2.begin(),s2.end(),
nocase_compare());
bool operator()(const char c1, const char c2) const
A case-insensitive comparator struct for usage within STL containers, eg: map<string,string,ci_less>
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
bool operator()(const std::string &s1, const std::string &s2) const