Classes | |
struct | alphanum_less |
Functions | |
template<typename lT , typename rT > | |
int | alphanum_comp (const lT &left, const rT &right) |
int | alphanum_comp (char *l, char *r) |
int | alphanum_comp (const char *l, const char *r) |
int | alphanum_comp (char *l, const char *r) |
int | alphanum_comp (const char *l, char *r) |
int | alphanum_comp (const std::string &l, char *r) |
int | alphanum_comp (char *l, const std::string &r) |
int | alphanum_comp (const std::string &l, const char *r) |
int | alphanum_comp (const char *l, const std::string &r) |
template<> | |
int | alphanum_comp< std::string > (const std::string &l, const std::string &r) |
int doj::alphanum_comp | ( | const lT & | left, |
const rT & | right | ||
) |
Compare left and right with the same semantics as strcmp(), but with the "Alphanum Algorithm" which produces more human-friendly results. The classes lT and rT must implement "std::ostream operator<< (std::ostream&, const Ty&)".
Definition at line 184 of file alphanum.hpp.
int doj::alphanum_comp | ( | char * | l, |
char * | r | ||
) |
Compare l and r with the same semantics as strcmp(), but with the "Alphanum Algorithm" which produces more human-friendly results.
Definition at line 223 of file alphanum.hpp.
int doj::alphanum_comp | ( | const char * | l, |
const char * | r | ||
) |
Definition at line 233 of file alphanum.hpp.
int doj::alphanum_comp | ( | char * | l, |
const char * | r | ||
) |
Definition at line 243 of file alphanum.hpp.
int doj::alphanum_comp | ( | const char * | l, |
char * | r | ||
) |
Definition at line 253 of file alphanum.hpp.
int doj::alphanum_comp | ( | const std::string & | l, |
char * | r | ||
) |
Definition at line 263 of file alphanum.hpp.
int doj::alphanum_comp | ( | char * | l, |
const std::string & | r | ||
) |
Definition at line 272 of file alphanum.hpp.
int doj::alphanum_comp | ( | const std::string & | l, |
const char * | r | ||
) |
Definition at line 281 of file alphanum.hpp.
int doj::alphanum_comp | ( | const char * | l, |
const std::string & | r | ||
) |
Definition at line 290 of file alphanum.hpp.
int doj::alphanum_comp< std::string > | ( | const std::string & | l, |
const std::string & | r | ||
) |
Compare l and r with the same semantics as strcmp(), but with the "Alphanum Algorithm" which produces more human-friendly results.
Definition at line 202 of file alphanum.hpp.