OpenTTD Source: StringCompare Struct Reference

OpenTTD Source 13.1

Public Member Functions
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

  a | The first string.
  b | The 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:

- src/core/string_compare_type.hpp