gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
Gambit::Utils::ci_less Struct Reference

#include <util_functions.hpp>

Inheritance diagram for Gambit::Utils::ci_less:
Collaboration diagram for Gambit::Utils::ci_less:

Classes

struct  nocase_compare
 

Public Member Functions

bool operator() (const std::string &s1, const std::string &s2) const
 

Detailed Description

Definition at line 131 of file util_functions.hpp.

Member Function Documentation

◆ operator()()

bool Gambit::Utils::ci_less::operator() ( const std::string &  s1,
const std::string &  s2 
) const
inline

Definition at line 140 of file util_functions.hpp.

140  {
141  return std::lexicographical_compare
142  (s1.begin (), s1.end (), // source range
143  s2.begin (), s2.end (), // dest range
144  nocase_compare ()); // comparison
145  }

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