SPH
Classes
Allocators.h File Reference

Allocators used by containers. More...

#include "common/Assert.h"
#include <memory>
#include <mm_malloc.h>

Go to the source code of this file.

Classes

struct  MemoryBlock
 
class  Mallocator
 Default allocator, simply wrapping _mm_malloc and _mm_free calls. More...
 
class  StackAllocator< TSize, TAlign >
 Allocator used pre-allocated fixed-size buffer on stack. More...
 
class  FallbackAllocator< TPrimary, TFallback >
 Allocator that attemps to allocate using given primary allocator, and if the allocation fails, it allocates using a second fallback allocator. More...
 
class  Segregator< TLimit, TSmall, TLarge >
 Compositor that uses one allocator for small allocations and another allocator for large allocations. More...
 
class  TrackingAllocator< TAllocator >
 Helper allocator that keeps track on allocated memory. More...
 
class  MemoryResourceAllocator< TResource >
 Allocator that obtains memory blocks from given memory resource. More...
 
class  MonotonicMemoryResource< TAllocator >
 Simple memory resource with pre-allocated contiguous memory buffer. More...
 

Detailed Description

Allocators used by containers.

Author
Pavel Sevecek (sevecek at sirrah.troja.mff.cuni.cz)
Date
2016-2021

Definition in file Allocators.h.