irioCoreCpp Library Module  2.1.0
irio::CustomStringComparator Struct Reference

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

Detailed Description

Custom string comparator for std::set.

Definition at line 38 of file parserManager.h.

Member Function Documentation

◆ operator()()

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.

Parameters
aThe first string to compare.
bThe second string to compare.
Returns
true if a is less than b, false otherwise.

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