irioCoreCpp Library Module
2.1.0
|
Custom string comparator for std::set. More...
#include <parserManager.h>
Public Member Functions | |
bool | operator() (const std::string &a, const std::string &b) const |
Overloaded function call operator for comparing two strings. More... | |
Custom string comparator for std::set.
Definition at line 38 of file parserManager.h.
bool irio::CustomStringComparator::operator() | ( | const std::string & | a, |
const std::string & | b | ||
) | const |
Overloaded function call operator for comparing two strings.
This function compares two strings, a
and b
, and returns true if a
is less than b
in lexicographical order. Otherwise, it returns false.
a | The first string to compare. |
b | The second string to compare. |
a
is less than b
, false otherwise.