Specialization of functor std::less for strings of templated character type.
For the comparison, CompareTo<Case::Ignore> is invoked on lhs with passing rhs.
This specialization is provided with the inclusion of header-file ALib.Strings.StdFunctors.H.
alib::strings::compatibility::std, the true location is namespace std (as mandatory).| TChar | The character type of the strings to compare. Defaults to character. |
Definition at line 214 of file ALib.Strings.StdFunctors.H.
#include <ALib.Strings.StdFunctors.H>
Public Method Index: | |
| bool | operator() (const strings::TString< TChar > &lhs, const strings::TString< TChar > &rhs) const |
|
inline |
Compares the two given strings.
| lhs | The left-hand side string. |
| rhs | The right-hand side string. |
true if lhs is less than rhs. Definition at line 220 of file ALib.Strings.StdFunctors.H.