#include <Allocator.h>
Classes | |
struct | AllocSpec |
Allocator specifier. More... | |
struct | BulkAllocator |
struct | BulkAllocatorImpl |
class | BulkAllocatorInitializer |
Static Private Member Functions | |
template<typename Allocator > | |
static BulkAllocator< typename Allocator::value_type > * | get_allocator () |
template<typename Allocator > | |
static BulkAllocatorImpl < Allocator > * | get_allocator_raw () |
Friends | |
class | AbstractAllocator |
class | BaseAllocator |
class | Array |
class | Block |
Definition at line 258 of file Allocator.h.
static BulkAllocator<typename Allocator::value_type>* casacore::Allocator_private::get_allocator | ( | ) | [inline, static, private] |
Definition at line 349 of file Allocator.h.
Referenced by casacore::Block< RecordFieldPtr< uChar > >::get_allocator().
static BulkAllocatorImpl<Allocator>* casacore::Allocator_private::get_allocator_raw | ( | ) | [inline, static, private] |
Probably this method is called from BulkAllocatorInitializer<Allocator> first while static initialization and other threads are not started yet.
Use construct below to avoid https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42032
new (u.alloc_obj) BulkAllocatorImpl<Allocator>(); // this instance will never be destructed.
Definition at line 360 of file Allocator.h.
friend class AbstractAllocator [friend] |
Definition at line 259 of file Allocator.h.
friend class Array [friend] |
Definition at line 261 of file Allocator.h.
friend class BaseAllocator [friend] |
Definition at line 260 of file Allocator.h.
friend class Block [friend] |
Definition at line 262 of file Allocator.h.