Specialization of this helper-struct for type HeapAllocator. Does not define a member and thus does not increase the footprint of a type that inherits this specialization.
Definition at line 692 of file allocation.inl.
Public Type Index: | |
using | AllocatorType |
Exposes the allocator type. | |
Public Static Field Index: | |
static constexpr HeapAllocator | HEAP_ALLOCATOR_INSTANCE {} |
Public Method Index: | |
AllocatorMember ()=default | |
Default Constructor. | |
AllocatorMember ()=delete | |
Deleted default constructor. (The allocator has to be given with construction) | |
AllocatorMember (const HeapAllocator &heapAllocator) noexcept | |
AllocatorMember (HeapAllocator &pAllocator) noexcept | |
AllocatorInterface< HeapAllocator > | AI () const noexcept |
AllocatorInterface< HeapAllocator > | AI () const noexcept |
HeapAllocator & | GetAllocator () const noexcept |
HeapAllocator & | GetAllocator () const noexcept |
Protected Field Index: | |
HeapAllocator & | allocator |
A reference to the allocator. | |
using alib::lang::AllocatorMember< HeapAllocator >::AllocatorType |
Exposes the allocator type.
Definition at line 669 of file allocation.inl.
|
protected |
A reference to the allocator.
Definition at line 665 of file allocation.inl.
|
staticconstexpr |
This is an empty instance of the empty heap allocation type.. It is used to receive a non-const reference with method GetAllocator.
Definition at line 696 of file allocation.inl.
|
inlinenoexcept |
Constructor.
heapAllocator | This parameter is ignored, as always HEAP_ALLOCATOR_INSTANCE is used. |
Definition at line 703 of file allocation.inl.
|
inlinenoexcept |
Constructor.
pAllocator | A reference to the allocator to store in member allocator. |
Definition at line 676 of file allocation.inl.
|
inlinenoexcept |
This is a convenience operator that returns the AllocatorInterface for the stored allocator (by calling Allocator::operator()()).
Definition at line 686 of file allocation.inl.
|
inlinenoexcept |
This is a convenience operator which returns the AllocatorInterface for the stored allocator (by calling Allocator::operator()()).
Definition at line 713 of file allocation.inl.
|
inlinenoexcept |
Returns the reference to the allocator.
Definition at line 681 of file allocation.inl.
|
inlinenoexcept |
Static implementation of interface function. (Optimized out.)
Definition at line 707 of file allocation.inl.