OpenTTD Source 20260414-master-g8a7bc482ad
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 83 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 84 of file provider_manager.h.


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