Template Struct PoolOrder

Struct Documentation

template<typename T>
struct PoolOrder

Reuse ordering by descending alignment, length, head and owner addresses; not an allocation policy itself.

Public Functions

inline bool operator()(const ::CE::Memory::Block<T> &lhs, const ::CE::Memory::Block<T> &rhs) const noexcept

Order reusable candidates by descending alignment, length, head, then owner.

This compares metadata and does not check out or reserve a range.