From 605f24420e188e128480a6ced604b49bf12d4f77 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Thu, 4 Oct 2018 13:41:07 +0000 Subject: [PATCH] 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 --- convert/text.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/convert/text.h b/convert/text.h index 8fbb98f..2959ef2 100644 --- a/convert/text.h +++ b/convert/text.h @@ -130,6 +130,12 @@ bool EqualNoCase(const StringType1 & str1, const StringType2 & str2) } +template +bool EqualNoCasep(const StringType1 * str1, const StringType2 * str2) +{ + return EqualNoCase(str1, str2); +} + template int CompareNoCase(const StringType1 * str1, const StringType2 * str2) @@ -154,6 +160,12 @@ int CompareNoCase(const StringType1 & str1, const StringType2 & str2) } +template +int CompareNoCasep(const StringType1 * str1, const StringType2 * str2) +{ + return CompareNoCase(str1, str2); +} + template bool EqualNoCase(const StringType1 * str1_begin, const StringType1 * str1_end, const StringType2 * str2)