OpenTTD Source  12.0-beta2
StringCompare Struct Reference

Comparator for strings. More...

#include <string_compare_type.hpp>

Public Member Functions

bool operator() (const char *a, const char *b) const
 Compare two strings. More...
 

Detailed Description

Comparator for strings.

Definition at line 14 of file string_compare_type.hpp.

Member Function Documentation

◆ operator()()

bool StringCompare::operator() ( const char *  a,
const char *  b 
) const
inline

Compare two strings.

Parameters
aThe first string.
bThe second string.
Returns
True is the first string is deemed "lower" than the second string.

Definition at line 21 of file string_compare_type.hpp.


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