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 688 of file allocation.hpp.
#include <allocation.hpp>
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 |
|
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 692 of file allocation.hpp.
|
inlinenoexcept |
Constructor.
heapAllocator | This parameter is ignored, as always HEAP_ALLOCATOR_INSTANCE is used. |
Definition at line 699 of file allocation.hpp.
|
inlinenoexcept |
This is a convenience operator which returns the AllocatorInterface for the stored allocator (by calling Allocator::operator()()).
Definition at line 709 of file allocation.hpp.
|
inlinenoexcept |
Static implementation of interface function. (Optimized out.)
Definition at line 703 of file allocation.hpp.