GAMS  1.4.0
gams::utility::RadixLess Class Reference

Compare object suitable for use with standard library. More...

#include <ArgumentParser.h>

Public Member Functions

bool operator() (const std::string &lhs, const std::string &rhs) const
 

Detailed Description

Compare object suitable for use with standard library.

Compares based on radix order: shorter strings always come before longer strings, and equal length strings are sorted in lexicographicaly order). Note that any strings containing only an integer of some length (with no leading zeros) will be sorted by numerical value implictly

Definition at line 75 of file ArgumentParser.h.

Member Function Documentation

◆ operator()()

bool gams::utility::RadixLess::operator() ( const std::string &  lhs,
const std::string &  rhs 
) const
inline

Definition at line 78 of file ArgumentParser.h.


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