|
Foundation
|
RAII wrapper for an arena allocated from an Allocator. More...
#include <Allocator.hpp>
Public Member Functions | |
| ScopedArena (Allocator *res, size_t size, size_t alignment=alignof(std::max_align_t)) | |
| ~ScopedArena () | |
| constexpr | operator Arena () const |
| constexpr | operator bool () const noexcept |
Public Attributes | |
| Allocator * | resource |
| Arena | arena |
RAII wrapper for an arena allocated from an Allocator.
|
inline |
|
inline |
| Arena Foundation::Core::ScopedArena::arena |
| Allocator* Foundation::Core::ScopedArena::resource |