This header-file is part of module ALib Monomem of the ALib C++ Framework.
© 2013-2025 A-Worx GmbH, Germany. Published under Boost Software License.
Definition in file poolallocator.inl.
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 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.inl.