FE 0.6.0
A header-only C++ library for writing frontends
|
#include <fe/arena.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
Allocator ()=delete | |
template<class U > | |
Allocator (const Arena::Allocator< U > &allocator) noexcept | |
Allocator (Arena &arena) noexcept | |
T * | allocate (size_t num_elems) |
void | deallocate (T *, size_t) noexcept |
template<class U > | |
bool | operator== (const Allocator< U > &a) const noexcept |
template<class U > | |
bool | operator!= (const Allocator< U > &a) const noexcept |
Public Attributes | |
Arena & | arena |
using fe::Arena::Allocator< T >::value_type = T |
|
delete |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenodiscard |
Definition at line 36 of file arena.h.
References fe::Arena::allocate(), and fe::Arena::Allocator< T >::arena.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 41 of file arena.h.
References fe::Arena::Allocator< T >::arena.
|
inlinenoexcept |
Definition at line 40 of file arena.h.
References fe::Arena::Allocator< T >::arena.
Arena& fe::Arena::Allocator< T >::arena |
Definition at line 43 of file arena.h.
Referenced by fe::Arena::Allocator< T >::allocate(), fe::Arena::Allocator< T >::operator!=(), and fe::Arena::Allocator< T >::operator==().