Memory manager that allocates array of object of type T for.
More...
#include <givaromm.h>
|
| static T * | allocate (const size_t s) |
| |
| static void | desallocate (T *bloc, const size_t sz=0) |
| |
| static void | initone (T *p, const T &V=T()) |
| |
| static void | initialize (T *bloc, const size_t s, const T &V=T()) |
| |
| static void | destroy (T *bloc, const size_t s) |
| |
template<class T>
class Givaro::GivaroMM< T >
Memory manager that allocates array of object of type T for.
◆ ptT
◆ allocate()
template<class T>
| T * allocate |
( |
const size_t | s | ) |
|
|
inlinestatic |
- Bug
- implem does not belong here
◆ desallocate()
template<class T>
| void desallocate |
( |
T * | bloc, |
|
|
const size_t | sz = 0 ) |
|
inlinestatic |
◆ initone()
template<class T>
| void initone |
( |
T * | p, |
|
|
const T & | V = T() ) |
|
inlinestatic |
◆ initialize()
template<class T>
| void initialize |
( |
T * | bloc, |
|
|
const size_t | s, |
|
|
const T & | V = T() ) |
|
inlinestatic |
◆ destroy()
template<class T>
| void destroy |
( |
T * | bloc, |
|
|
const size_t | s ) |
|
inlinestatic |
The documentation for this class was generated from the following file: