This header-file is part of module ALib Monomem of the ALib C++ Framework.
Copyright 2013-2026 A-Worx GmbH, Germany. Published under License.
Definition in file poolallocator.hpp.
Go to the source code of this file.
Classes | |
| class | alib::monomem::TPoolAllocator< TAllocator, TAlignment > |
Namespaces | |
| namespace | alib |
| namespace | alib::monomem |
Macros | |
| #define | ALIB_MONOMEM_POOLALLOCATOR_DEFAULT_ALIGNMENT alignof(uint64_t) |
Typedefs | |
| using | alib::PoolAllocator = monomem::TPoolAllocator<MonoAllocator> |
| using | alib::PoolAllocatorHA = monomem::TPoolAllocator<lang::HeapAllocator> |
| template<typename T> | |
| using | alib::StdPA = lang::StdAllocator<T, PoolAllocator> |
| #define ALIB_MONOMEM_POOLALLOCATOR_DEFAULT_ALIGNMENT alignof(uint64_t) |
This configuration macro defaults to "alignof(uint64_t)" and is used as the default value of template parameter TAlignment of class TPoolAllocator. The importance of this default value arises from the fact that the alias type definition alib::PoolAllocator uses this default-alignment and this alias is in turn used across ALib. In case this value needs to be changed, please note that the using code linked against a compiled library needs to have this configuration macro set accordingly. Otherwise, undefined behavior may occur.
Definition at line 11 of file poolallocator.hpp.