SPH
|
Allocator that obtains memory blocks from given memory resource. More...
#include <Allocators.h>
Public Member Functions | |
INLINE void | bind (TResource &other) |
INLINE MemoryBlock | allocate (const std::size_t size, const Size align) noexcept |
INLINE void | deallocate (MemoryBlock &UNUSED(block)) noexcept |
INLINE bool | owns (const MemoryBlock &block) const noexcept |
Allocator that obtains memory blocks from given memory resource.
Allocator does not own the resource, therefore the resource must exist as long as any object that uses the allocator. Allocator cannot deallocate memory.
Definition at line 207 of file Allocators.h.
|
inlinenoexcept |
Definition at line 216 of file Allocators.h.
|
inline |
Definition at line 212 of file Allocators.h.
|
inlinenoexcept |
Definition at line 224 of file Allocators.h.
|
inlinenoexcept |
Definition at line 226 of file Allocators.h.