OpenTTD Source 20241224-master-gee860a5c8e
BaseProvider< T >::ProviderSorter Struct Reference

Sorter for BaseProvider. More...

#include <provider_manager.h>

Public Member Functions

bool operator() (const T *a, const T *b) const
 

Detailed Description

template<typename T>
struct BaseProvider< T >::ProviderSorter

Sorter for BaseProvider.

It will sort based on the name. If the name is the same, it will sort based on the pointer value.

Definition at line 68 of file provider_manager.h.

Member Function Documentation

◆ operator()()

template<typename T >
bool BaseProvider< T >::ProviderSorter::operator() ( const T *  a,
const T *  b 
) const
inline

Definition at line 69 of file provider_manager.h.


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