MADARA  3.4.1
madara::utility::ComparisonGreaterThan 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 greater than relationship, e.g. More...
 

Detailed Description

Less than comparator for non-object-oriented types.

Currently supports c strings only.

Definition at line 39 of file Comparators.h.

Member Function Documentation

◆ operator()()

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

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

in sorting

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

Definition at line 46 of file Comparators.h.


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