SPH
|
Allocator used pre-allocated fixed-size buffer on stack. More...
#include <Allocators.h>
Public Member Functions | |
INLINE MemoryBlock | allocate (const std::size_t size, const std::size_t UNUSED(align)) noexcept |
INLINE void | deallocate (MemoryBlock &block) noexcept |
INLINE bool | owns (const MemoryBlock &block) const noexcept |
![]() | |
Immovable ()=default | |
Immovable (const Immovable &)=delete | |
Immovable (Immovable &&)=delete | |
Immovable & | operator= (const Immovable &)=delete |
Immovable & | operator= (Immovable &&)=delete |
Allocator used pre-allocated fixed-size buffer on stack.
Function allocate returns an empty block if the allocator does not have enough available memory.
Definition at line 52 of file Allocators.h.
|
inlinenoexcept |
Definition at line 60 of file Allocators.h.
|
inlinenoexcept |
Definition at line 73 of file Allocators.h.
|
inlinenoexcept |
Definition at line 83 of file Allocators.h.