Gecode::Support::BlockClient< T > Class Template Reference
[Support algorithms and datastructures]
#include <block-allocator.hh>
Inherited by Gecode::Int::Regular::Edge, Gecode::Int::Regular::PosSet, and Gecode::Int::Regular::StateNode.
Detailed Description
template<class T>
class Gecode::Support::BlockClient< T >
Client for block allocator of type T.
Provides memory management for objects of type T.
Requires
#include "gecode/support/block-allocator.hh"
Definition at line 76 of file block-allocator.hh.
Static Public Member Functions | |
static void * | operator new (size_t s, BlockAllocator< T > &ba) |
Allocate memory from block allocator ba. | |
static void | operator delete (void *, BlockAllocator< T > &ba) |
Noop (memory freed only when block allocator deleted). | |
static void | operator delete (void *) |
Noop (memory freed only when block allocator deleted). |
Member Function Documentation
template<class T>
void * Gecode::Support::BlockClient< T >::operator new | ( | size_t | s, | |
BlockAllocator< T > & | ba | |||
) | [inline, static] |
template<class T>
void Gecode::Support::BlockClient< T >::operator delete | ( | void * | , | |
BlockAllocator< T > & | ba | |||
) | [inline, static] |
Noop (memory freed only when block allocator deleted).
Definition at line 135 of file block-allocator.hh.
template<class T>
void Gecode::Support::BlockClient< T >::operator delete | ( | void * | ) | [inline, static] |
Noop (memory freed only when block allocator deleted).
Definition at line 139 of file block-allocator.hh.
The documentation for this class was generated from the following file:
- gecode/support/block-allocator.hh (Revision: 3188)