19 bool operator()(
const std::string &s1,
const std::string &s2)
const {
21 return _stricmp(s1.c_str(), s2.c_str()) < 0;
23 return strcasecmp(s1.c_str(), s2.c_str()) < 0;
30template <
class T>
using CaseInsensitiveMap = std::map<std::string, T, CaseInsensitiveStringComparator>;
std::map< std::string, T, CaseInsensitiveStringComparator > CaseInsensitiveMap
Alias template for a map data structure that has case insensitive string comparision with a variable ...
Helper class which provides the Collimation Length for SANS instruments.
Functor to provide a case insensitive string comparator.
bool operator()(const std::string &s1, const std::string &s2) const