OpenTTD Source 20250312-master-gcdcc6b491d
Pool< Titem, Tindex, Tgrowth_step, Tpool_type, Tcache >::AllocCache Struct Reference

Helper struct to cache 'freed' PoolItems so we do not need to allocate them again. More...

Data Fields

AllocCachenext
 The next in our 'cache'.
 

Detailed Description

template<class Titem, typename Tindex, size_t Tgrowth_step, PoolType Tpool_type = PoolType::Normal, bool Tcache = false>
struct Pool< Titem, Tindex, Tgrowth_step, Tpool_type, Tcache >::AllocCache

Helper struct to cache 'freed' PoolItems so we do not need to allocate them again.

Definition at line 446 of file pool_type.hpp.

Field Documentation

◆ next

template<class Titem , typename Tindex , size_t Tgrowth_step, PoolType Tpool_type = PoolType::Normal, bool Tcache = false>
AllocCache* Pool< Titem, Tindex, Tgrowth_step, Tpool_type, Tcache >::AllocCache::next

The next in our 'cache'.

Definition at line 448 of file pool_type.hpp.


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