Givaro
Public Types | Static Public Member Functions
GivaroMM< T > Class Template Reference

Memory manager that allocates array of object of type T for. More...

#include <givaromm.h>

Public Types

typedef T * ptT
 

Static Public Member Functions

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)
 

Detailed Description

template<class T>
class Givaro::GivaroMM< T >

Memory manager that allocates array of object of type T for.

Member Typedef Documentation

◆ ptT

typedef T* ptT

Member Function Documentation

◆ allocate()

T * allocate ( const size_t  s)
inlinestatic
Bug:
implem does not belong here

◆ desallocate()

void desallocate ( T *  bloc,
const size_t  sz = 0 
)
inlinestatic

◆ initone()

void initone ( T *  p,
const T &  V = T() 
)
inlinestatic

◆ initialize()

void initialize ( T *  bloc,
const size_t  s,
const T &  V = T() 
)
inlinestatic

◆ destroy()

void destroy ( T *  bloc,
const size_t  s 
)
inlinestatic

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