added to convert/text.h:

bool EqualNoCasep(const StringType1 * str1, const StringType2 * str)
int CompareNoCasep(const StringType1 * str1, const StringType2 * str2)




git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@1127 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2018-10-04 13:41:07 +00:00
parent 8e9f83e377
commit 605f24420e
1 changed files with 12 additions and 0 deletions

View File

@ -130,6 +130,12 @@ bool EqualNoCase(const StringType1 & str1, const StringType2 & str2)
}
template<class StringType1, class StringType2>
bool EqualNoCasep(const StringType1 * str1, const StringType2 * str2)
{
return EqualNoCase(str1, str2);
}
template<class StringType1, class StringType2>
int CompareNoCase(const StringType1 * str1, const StringType2 * str2)
@ -154,6 +160,12 @@ int CompareNoCase(const StringType1 & str1, const StringType2 & str2)
}
template<class StringType1, class StringType2>
int CompareNoCasep(const StringType1 * str1, const StringType2 * str2)
{
return CompareNoCase(str1, str2);
}
template<class StringType1, class StringType2>
bool EqualNoCase(const StringType1 * str1_begin, const StringType1 * str1_end, const StringType2 * str2)