MADARA  3.4.1
madara::utility::ComparisonLessThan Class Reference

Less than comparator for non-object-oriented types. More...

#include <Comparators.h>

Public Member Functions

bool operator() (const char *l, const char *r) const
 Compares two c strings for less than relationship, e.g. More...
 

Detailed Description

Less than comparator for non-object-oriented types.

Currently supports c strings only.

Definition at line 20 of file Comparators.h.

Member Function Documentation

◆ operator()()

bool madara::utility::ComparisonLessThan::operator() ( const char *  l,
const char *  r 
) const
inline

Compares two c strings for less than relationship, e.g.

in sorting

Parameters
lthe left item to compare (trend toward less than)
rthe right item to compare (trend toward greater than)

Definition at line 28 of file Comparators.h.


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