Case insensitive char comparing. More...
#include <strutils.h>
Public Member Functions | |
| char_compare (const std::ctype< char > &c) | |
| Constructor. | |
| bool | operator() (char x, char y) const |
| Compare two characters. | |
Case insensitive char comparing.
The compare functor class is used for case insensitive comparing of two chars, with optionally provided locale, for example:
if (char_compare()(c1, c2)) {...};
| bool dbp::char_compare::operator() | ( | char | x, | |
| char | y | |||
| ) | const [inline] |
Compare two characters.
| x | first char to compare | |
| y | second char to compare |