ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
No Matches
less_string_ignore_case< TChar > Struct Template Reference


template<typename TChar = characters::character>
struct alib::strings::compatibility::std::less_string_ignore_case< TChar >

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/compatibility/std_strings_functional.hpp .

While the documentation indicates namespace alib::strings::compatibility::std, the true location is namespace std (as mandatory).
Template Parameters
TCharThe character type of the strings to compare. Defaults to character .

Definition at line 247 of file std_strings_functional.hpp.

#include <std_strings_functional.hpp>

Public Method Index:

bool operator() (const strings::TString< TChar > &lhs, const strings::TString< TChar > &rhs) const

Method Details:

◆ operator()()

template<typename TChar = characters::character>
bool operator() ( const strings::TString< TChar > & lhs,
const strings::TString< TChar > & rhs ) const

Compares the two given strings.

lhsThe left-hand side string.
rhsThe right-hand side string.
true if lhs is less than rhs .

Definition at line 255 of file std_strings_functional.hpp.

The documentation for this struct was generated from the following file: