Re: [C++] Comparison functions for strings in Between Ternary Kernel

2021-10-11 Thread Antoine Pitrou
Hello Benson, Le 11/10/2021 à 19:56, Benson Muite a écrit : When comparing strings using C++, the default behavior is to order by UTF8 codepoints which impacts comparing strings such as a < b < c [1][2]. This may not be appropriate in all cases and like in the sort function [3], it may be hel

[C++] Comparison functions for strings in Between Ternary Kernel

2021-10-11 Thread Benson Muite
When comparing strings using C++, the default behavior is to order by UTF8 codepoints which impacts comparing strings such as a < b < c [1][2]. This may not be appropriate in all cases and like in the sort function [3], it may be helpful to have an optional field for comparison keys. An examp