Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
deskflow::string::CaselessCmp Class Reference

Case-insensitive comparisons. More...

#include <String.h>

Public Member Functions

bool operator() (const std::string &a, const std::string &b) const
 Same as less()

Static Public Member Functions

static bool less (const std::string_view &a, const std::string_view &b)
 Returns true iff a is lexicographically less than b.
static bool equal (const std::string &a, const std::string &b)
 Returns true iff a is lexicographically equal to b.
static bool cmpLess (const std::string::value_type &a, const std::string::value_type &b)
 Returns true iff a is lexicographically less than b.

Detailed Description

Case-insensitive comparisons.

This class provides case-insensitve comparison functions.

Member Function Documentation

◆ cmpLess()

bool deskflow::string::CaselessCmp::cmpLess ( const std::string::value_type & a,
const std::string::value_type & b )
static

Returns true iff a is lexicographically less than b.

◆ equal()

bool deskflow::string::CaselessCmp::equal ( const std::string & a,
const std::string & b )
static

Returns true iff a is lexicographically equal to b.

◆ less()

bool deskflow::string::CaselessCmp::less ( const std::string_view & a,
const std::string_view & b )
static

Returns true iff a is lexicographically less than b.

◆ operator()()

bool deskflow::string::CaselessCmp::operator() ( const std::string & a,
const std::string & b ) const

Same as less()


The documentation for this class was generated from the following files: