27 #ifndef MEM_ALLOCATOR_HPP
28 #define MEM_ALLOCATOR_HPP
30 #include "../my_config.h"
54 virtual void release(
void *ptr) = 0;
virtual void release(void *ptr)=0
this is the interface to use to release a memory block owned by this mem_allocator ...
generic interface of memory managers that create and delete mem_allocator objects depending on reques...
virtual void push_to_release_list(mem_allocator *ref)=0
this is for the mem_allocator to inform its mem_manager that it has all its block released ...
generic interface of objects that need to be informed that a memory block they manage has been releas...
contains all the excetion class thrown by libdar
virtual U_I max_percent_full() const =0
returns the maximum occupation reached for that object (used for debugging purposes) ...
libdar namespace encapsulate all libdar symbols