Client for block allocator of type T. More...
#include <block-allocator.hpp>
Static Public Member Functions | |
static void * | operator new (size_t s, BlockAllocator< T, A, blocksize > &ba) |
Allocate memory from block allocator ba. | |
static void | operator delete (void *, BlockAllocator< T, A, blocksize > &ba) |
Noop (memory freed only when block allocator deleted) | |
static void | operator delete (void *) |
Noop (memory freed only when block allocator deleted) |
Client for block allocator of type T.
Provides memory management for objects of type T.
void * Gecode::Support::BlockClient::operator new | ( | size_t | s, |
BlockAllocator< T, A, blocksize > & | ba | ||
) | [inline, static] |
Allocate memory from block allocator ba.
Definition at line 162 of file block-allocator.hpp.
void Gecode::Support::BlockClient::operator delete | ( | void * | , |
BlockAllocator< T, A, blocksize > & | ba | ||
) | [inline, static] |
Noop (memory freed only when block allocator deleted)
Definition at line 154 of file block-allocator.hpp.
void Gecode::Support::BlockClient::operator delete | ( | void * | ) | [inline, static] |
Noop (memory freed only when block allocator deleted)
Definition at line 158 of file block-allocator.hpp.