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

Sorter for PriorityBaseProvider. More...

#include <provider_manager.h>

Public Member Functions

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

Detailed Description

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

Sorter for PriorityBaseProvider.

It will sort based on the priority, smaller first. If the priority is the same, it will sort based on the pointer value.

Definition at line 95 of file provider_manager.h.

Member Function Documentation

◆ operator()()

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

Definition at line 96 of file provider_manager.h.


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