A "less than" comparator for C strings. More...
#include <CStringLessThanFunctor.h++>
Public Member Functions | |
| CStringLessThanFunctor (bool caseSensitive=true) throw () | |
| Construct a new CStringLessThanFunctor with the given case sensitivity. | |
| bool | operator() (const char *a, const char *b) const throw () |
| Compare two C strings. | |
A "less than" comparator for C strings.
May be used as a template argument to std::map for maps which use C string keys.
| CStringLessThanFunctor | ( | bool | caseSensitive = true |
) | throw () |
Construct a new CStringLessThanFunctor with the given case sensitivity.
| caseSensitive | true if string comparisons should be case-sensitive, false otherwise. |
| bool operator() | ( | const char * | a, | |
| const char * | b | |||
| ) | const throw () |
Compare two C strings.
1.6.3