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) |
| Reallocate block of n object 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. | |
| template<class T> | |
| T * | brealloc (T *b, size_t, size_t m) |
Function Documentation
|
||||||||||||||||||||
|
Definition at line 91 of file memory.icc. |
