casacore
|
An allocator behaves like operator new[]/delete[]. More...
#include <Allocator.h>
Public Types | |
typedef new_del_allocator< T > | type |
Public Types inherited from casacore::BaseAllocator< T, NewDelAllocator< T > > | |
typedef T | value_type |
typedef NewDelAllocator< T > | facade_type |
Public Types inherited from casacore::AbstractAllocator< T > | |
typedef T | value_type |
Static Public Attributes | |
static NewDelAllocator< T > | value |
an instance of this allocator. More... | |
Protected Member Functions | |
NewDelAllocator () | |
Protected Member Functions inherited from casacore::BaseAllocator< T, NewDelAllocator< T > > | |
BaseAllocator () | |
virtual Allocator_private::BulkAllocator < T > * | getAllocator () const override |
Protected Member Functions inherited from casacore::AbstractAllocator< T > | |
AbstractAllocator () | |
Additional Inherited Members | |
Public Member Functions inherited from casacore::BaseAllocator< T, NewDelAllocator< T > > | |
virtual | ~BaseAllocator () |
Public Member Functions inherited from casacore::AbstractAllocator< T > | |
virtual | ~AbstractAllocator () |
An allocator behaves like operator new[]/delete[].
Because it is impossible to decouple construction/destruction from allocation/deallocation with this allocator, it is discouraged to use this allocator. Use DefaultAllocator<T>
or AlignedAllocator<T, ALIGNMENT>
as possible. This allocator is provided only for compatibility for calling Array::takeStorage(), Block::replaceStorage(), Block(size_t, T *&, Bool)
etc. with a storage allocated by operator new[].
Definition at line 366 of file Allocator.h.
typedef new_del_allocator<T> casacore::NewDelAllocator< T >::type |
Definition at line 368 of file Allocator.h.
|
inlineprotected |
Definition at line 372 of file Allocator.h.
|
static |
an instance of this allocator.
Definition at line 370 of file Allocator.h.