Givaro 4.2.1
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

template<class T>
typedef T* ptT

Member Function Documentation

◆ 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: