ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
less< alib::strings::TString< TChar > > Struct Template Reference

Description:

template<typename TChar>
struct alib::strings::compatibility::std::less< alib::strings::TString< TChar > >

Specialization of functor std::less for strings of templated character type.

For the comparison, CompareTo is invoked on lhs with passing rhs .

This specialization is provided with the inclusion of header file alib/compatibility/std_strings_functional.hpp .

Note
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.

Definition at line 136 of file std_strings_functional.hpp.

#include <std_strings_functional.hpp>

Public Method Index:

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

Method Details:

◆ operator()()

template<typename TChar >
bool operator() ( const alib::strings::TString< TChar > & lhs,
const alib::strings::TString< TChar > & rhs ) const
inline

Compares the two given strings.

Parameters
lhsThe left-hand side string.
rhsThe right-hand side string.
Returns
The result of the comparison.

Definition at line 144 of file std_strings_functional.hpp.

Here is the call graph for this function:

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