Galois
|
Keep a reference to an external allocator. More...
#include <Mem.h>
Classes | |
struct | rebind |
Public Types | |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
typedef Ty * | pointer |
typedef const Ty * | const_pointer |
typedef Ty & | reference |
typedef const Ty & | const_reference |
typedef Ty | value_type |
Public Member Functions | |
ExternalHeapAllocator (HeapTy *a) noexcept | |
template<class T1 > | |
ExternalHeapAllocator (const ExternalHeapAllocator< T1, HeapTy > &rhs) noexcept | |
pointer | address (reference val) const |
const_pointer | address (const_reference val) const |
pointer | allocate (size_type size) |
void | deallocate (pointer ptr, size_type) |
void | construct (pointer ptr, const_reference val) const |
template<class U , class... Args> | |
void | construct (U *p, Args &&...args) const |
void | destroy (pointer ptr) const |
size_type | max_size () const noexcept |
template<typename T1 , typename A1 > | |
bool | operator!= (const ExternalHeapAllocator< T1, A1 > &rhs) const |
template<typename T1 , typename A1 > | |
bool | operator== (const ExternalHeapAllocator< T1, A1 > &rhs) const |
Public Attributes | |
HeapTy * | heap |
Keep a reference to an external allocator.
typedef const Ty* galois::runtime::ExternalHeapAllocator< Ty, HeapTy >::const_pointer |
typedef const Ty& galois::runtime::ExternalHeapAllocator< Ty, HeapTy >::const_reference |
typedef ptrdiff_t galois::runtime::ExternalHeapAllocator< Ty, HeapTy >::difference_type |
typedef Ty* galois::runtime::ExternalHeapAllocator< Ty, HeapTy >::pointer |
typedef Ty& galois::runtime::ExternalHeapAllocator< Ty, HeapTy >::reference |
typedef size_t galois::runtime::ExternalHeapAllocator< Ty, HeapTy >::size_type |
typedef Ty galois::runtime::ExternalHeapAllocator< Ty, HeapTy >::value_type |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
HeapTy* galois::runtime::ExternalHeapAllocator< Ty, HeapTy >::heap |