Helios Engine 0.1.0
A modular ECS based data-oriented C++23 game engine
 
Loading...
Searching...
No Matches
helios::memory::AllocatorWithStats Concept Reference

Concept for allocators that provide statistics. More...

#include <allocator_traits.hpp>

Concept definition

template<typename T>
concept helios::memory::AllocatorWithStats = Allocator<T> && requires(const T allocator) {
{ allocator.Stats() } -> std::same_as<AllocatorStats>;
}
Concept for allocators that provide statistics.
Concept for basic allocator interface.

Detailed Description

Concept for allocators that provide statistics.

Most allocators should provide statistics for debugging and profiling.

Template Parameters
TType to check for stats support

Definition at line 71 of file allocator_traits.hpp.