OpenTTD Source 20241224-master-gf74b0cf984
CaseInsensitiveComparator Struct Reference

Case insensitive comparator for strings, for example for use in std::map. More...

#include <string_func.h>

Public Member Functions

bool operator() (const std::string_view s1, const std::string_view s2) const
 

Detailed Description

Case insensitive comparator for strings, for example for use in std::map.

Definition at line 46 of file string_func.h.

Member Function Documentation

◆ operator()()

bool CaseInsensitiveComparator::operator() ( const std::string_view  s1,
const std::string_view  s2 
) const
inline

Definition at line 47 of file string_func.h.


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