|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Public Member Functions | |
| bool | operator() (const string &a, const string &b) const |
| Performs a case-insensitive comparison of two strings. | |
Definition at line 1489 of file ah-functional.cc.
Performs a case-insensitive comparison of two strings.
Compares the two strings for equality by checking that they have the same length and that each corresponding character is equal after conversion with std::tolower (characters are cast to unsigned char before conversion).
| a | First string to compare. |
| b | Second string to compare. |
true if both strings have the same length and are equal ignoring case, false otherwise. Definition at line 1501 of file ah-functional.cc.
References Aleph::divide_and_conquer_partition_dp().