Generated on Mon Aug 25 11:35:52 2008 for Gecode by doxygen 1.5.6

Gecode::Memory Namespace Reference


Detailed Description

Heap and automatic memory management.


Classes

class  AutoArray
 Helper class for large automatic memory chunks. More...

Namespaces

namespace  Config
 Parameters defining memory management policy for spaces.

Functions

void * malloc (size_t s)
 Allocate s bytes from heap.
void * realloc (void *p, size_t s)
 Try to change memory-block starting at p to size s.
void free (void *p)
 Free memory block starting at p.
template<class T>
T * bmalloc (size_t n)
 Allocate block of n objects of type T from heap.
template<class T>
T * brealloc (T *b, size_t n, size_t m)
 Reallocate block of n objects starting at b to m objects of type T from heap.
template<class T>
T * bcopy (T *d, const T *s, size_t n)
 Copy n objects starting at s to d.