OpenTTD Source: CargoIDComparator Struct Reference

OpenTTD Source 15.0-beta1

Public Member Functions
CargoIDComparator Struct Reference

Comparator to sort CargoID by according to desired order. More...

`#include <cargotype.h>`

## Public Member Functions
bool | operator() (const CargoID &lhs, const CargoID &rhs) const

## Detailed Description

Comparator to sort CargoID by according to desired order.

Definition at line 247 of file cargotype.h.

## Member Function Documentation

## ◆ operator()()

bool CargoIDComparator::operator() | ( | const CargoID & | lhs,
|  | const CargoID & | rhs
| ) |  | const
| inline

Definition at line 248 of file cargotype.h.

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

- src/cargotype.h