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 682 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 (const HeapAllocator &heapAllocator) noexcept | |
| AllocatorInterface< HeapAllocator > | AI () const noexcept |
| HeapAllocator & | GetAllocator () const noexcept |
Protected Field Index: | |
| HeapAllocator * | allocator |
| The allocator stored. | |
| using alib::lang::AllocatorMember< HeapAllocator >::AllocatorType |
Exposes the allocator type.
Definition at line 655 of file allocation.inl.
|
protected |
The allocator stored.
Definition at line 651 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 the method GetAllocator.
Definition at line 686 of file allocation.inl.
|
inlinenoexcept |
Constructor.
| heapAllocator | This parameter is ignored, as always HEAP_ALLOCATOR_INSTANCE is used. |
Definition at line 693 of file allocation.inl.
|
inlinenoexcept |
This is a convenience operator which returns the AllocatorInterface for the stored allocator (by calling AllocatorInterface< Allocator > operator()() ).
Definition at line 703 of file allocation.inl.
|
inlinenoexcept |
Static implementation of interface function. (Optimized out.)
Definition at line 697 of file allocation.inl.