Generated on Sat Aug 25 2012 15:53:14 for Gecode by doxygen 1.7.5
Gecode::Support::BlockClient Class Reference

Client for block allocator of type T. More...

#include <block-allocator.hpp>

List of all members.

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)

Detailed Description

Client for block allocator of type T.

Provides memory management for objects of type T.


Member Function Documentation

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.


The documentation for this class was generated from the following file: