An allocator behaves like operator new[]/delete[]. More...
#include <Allocator.h>
Public Types | |
| typedef new_del_allocator< T > | type |
Static Public Attributes | |
| static NewDelAllocator< T > | value |
| an instance of this allocator. | |
Protected Member Functions | |
| NewDelAllocator () | |
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 430 of file Allocator.h.
| typedef new_del_allocator<T> casacore::NewDelAllocator< T >::type |
Definition at line 432 of file Allocator.h.
| casacore::NewDelAllocator< T >::NewDelAllocator | ( | ) | [inline, protected] |
Definition at line 436 of file Allocator.h.
NewDelAllocator< T > casacore::NewDelAllocator< T >::value [inline, static] |
an instance of this allocator.
Definition at line 434 of file Allocator.h.
1.6.1