Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
websocketpp::utility::ci_less Struct Reference

Helper less than functor for case insensitive find. More...

#include <utilities.hpp>

Inheritance diagram for websocketpp::utility::ci_less:
Collaboration diagram for websocketpp::utility::ci_less:

Classes

struct  nocase_compare
 

Public Member Functions

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

Detailed Description

Member Function Documentation

◆ operator()()

bool websocketpp::utility::ci_less::operator() ( std::string const & s1,
std::string const & s2 ) const
inline

Definition at line 84 of file utilities.hpp.

84 {
85 return std::lexicographical_compare
86 (s1.begin (), s1.end (), // source range
87 s2.begin (), s2.end (), // dest range
88 nocase_compare ()); // comparison
89 }

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