RAII wrapper for an arena allocated from an Allocator.
More...
#include <Allocator.hpp>
RAII wrapper for an arena allocated from an Allocator.
◆ ScopedArena()
| Foundation::Core::ScopedArena::ScopedArena |
( |
Allocator * |
res, |
|
|
size_t |
size, |
|
|
size_t |
alignment = alignof(std::max_align_t) |
|
) |
| |
|
inline |
◆ ~ScopedArena()
| Foundation::Core::ScopedArena::~ScopedArena |
( |
| ) |
|
|
inline |
◆ operator Arena()
| constexpr Foundation::Core::ScopedArena::operator Arena |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator bool()
| constexpr Foundation::Core::ScopedArena::operator bool |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ arena
| Arena Foundation::Core::ScopedArena::arena |
◆ resource
| Allocator* Foundation::Core::ScopedArena::resource |
The documentation for this struct was generated from the following file: