Example #1
0
 static 
 int Compare( const _TChar* s1, const basic_string<_TChar>& s2, ECase use_case = eCase)
 {
     return use_case == eCase ? CompareCase(s1,s2.c_str()) : CompareNocase(s1,s2.c_str());
 }
Example #2
0
 static
 int Compare(const _TChar* str, SIZE_TYPE pos, SIZE_TYPE n, const basic_string<_TChar>& pattern, ECase use_case = eCase)
 {
     return use_case == eCase ? CompareCase(str,pos,n,pattern) : CompareNocase(str,pos,n,pattern);
 }
Example #3
0
 static 
 int Compare( const _TChar* s1, const _TChar* s2, ECase use_case = eCase)
 {
     return use_case == eCase ? CompareCase(s1,s2) : CompareNocase(s1,s2);
 }
static bool CompareAlbumNameNocase(const LibraryBackend::Album& left,
                                   const LibraryBackend::Album& right) {
  return CompareNocase(left.album_name, right.album_name);
}