added: to locale: comparing lexicographically two characters/strings

int Compare(wchar_t c1, wchar_t c2);
       int Compare(const std::wstring & str1, const std::wstring & str2);
       
	   


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@800 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-01-21 20:51:13 +00:00
parent 7407d24586
commit 5aaab89cd8
3 changed files with 171 additions and 11 deletions

View File

@@ -14,3 +14,8 @@ smallleters = "ąćęłńóśźż"
capitalics = "ĄĆĘŁŃÓŚŹŻ"
# ASCII characters (a-z, A-Z) are tested beforehand
# so this table are not used for such characters
sort = ( "ąa1", "ćc1", "ęe1", "łl1", "ńn1", "óo1", "śs1", "źz1", "żz2",
"ĄA1", "ĆC1", "ĘE1", "ŁL1", "ŃN1", "ÓO1", "ŚS1", "ŹZ1", "ŻZ2" )