OpenTTD Source 20260206-master-g4d4e37dbf1
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() (std::string_view s1, std::string_view s2) const

Detailed Description

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

Definition at line 50 of file string_func.h.

Member Function Documentation

◆ operator()()

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

Definition at line 51 of file string_func.h.


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