OpenTTD Source 20241224-master-gee860a5c8e
Layouter::LineCacheCompare Struct Reference

Comparator for std::map. More...

Public Types

using is_transparent = void
 Enable map queries with various key types.
 

Public Member Functions

template<typename Key1 , typename Key2 >
bool operator() (const Key1 &lhs, const Key2 &rhs) const
 Comparison operator for LineCacheKey and LineCacheQuery.
 

Detailed Description

Comparator for std::map.

Definition at line 153 of file gfx_layout.h.

Member Typedef Documentation

◆ is_transparent

Enable map queries with various key types.

Definition at line 154 of file gfx_layout.h.

Member Function Documentation

◆ operator()()

template<typename Key1 , typename Key2 >
bool Layouter::LineCacheCompare::operator() ( const Key1 &  lhs,
const Key2 &  rhs 
) const
inline

Comparison operator for LineCacheKey and LineCacheQuery.

Definition at line 158 of file gfx_layout.h.


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