|
Allocator Builder
Policy Based C++ Template Allocator Library
|
#include <freelist.hpp>
Inherits alb::v_100::freelist_base< false, Allocator, MinSize, MaxSize, PoolSize, NumberOfBatchAllocations >.
Public Member Functions | |
| freelist (size_t minSize, size_t maxSize) noexcept | |
Public Member Functions inherited from alb::v_100::freelist_base< false, Allocator, MinSize, MaxSize, PoolSize, NumberOfBatchAllocations > | |
| freelist_base (size_t minSize, size_t maxSize) noexcept | |
| ~freelist_base () | |
| void | set_min_max (size_t minSize, size_t maxSize) noexcept |
| size_t | min_size () const noexcept |
| size_t | max_size () const noexcept |
| block | allocate (size_t n) noexcept |
| bool | reallocate (block &b, size_t n) noexcept |
| bool | owns (const block &b) const noexcept |
| void | deallocate (block &b) noexcept |
Additional Inherited Members | |
Public Types inherited from alb::v_100::freelist_base< false, Allocator, MinSize, MaxSize, PoolSize, NumberOfBatchAllocations > | |
| using | allocator = Allocator |
Static Public Attributes inherited from alb::v_100::freelist_base< false, Allocator, MinSize, MaxSize, PoolSize, NumberOfBatchAllocations > | |
| static constexpr unsigned | pool_size |
| static constexpr unsigned | number_of_batch_allocations |
| static constexpr bool | supports_truncated_deallocation |
| static constexpr unsigned | alignment |
This class is a single threaded specialization of the FreeList. For details see alb::freelistBase
Definition at line 263 of file freelist.hpp.