TBCI Numerical high perf. C++ Library  2.8.0
Static Public Member Functions | Protected Member Functions | Friends | List of all members
tbci_memalloc< T > Class Template Reference

#include <malloc_cache.h>

Static Public Member Functions

static Talloc (const unsigned long sz)
 
static void dealloc (const T *const ptr, const unsigned long sz)
 

Protected Member Functions

 tbci_memalloc ()
 
 ~tbci_memalloc ()
 

Friends

tbci_memalloc< T >
&tbci_s_allocator 
FGDT ()
 

Detailed Description

template<typename T>
class tbci_memalloc< T >

Default memory allocator class, basically just wraps new and delete[] To be specialized later for better performance.

Definition at line 92 of file malloc_cache.h.

Constructor & Destructor Documentation

template<typename T>
tbci_memalloc< T >::tbci_memalloc ( )
inlineprotected

Definition at line 105 of file malloc_cache.h.

template<typename T>
tbci_memalloc< T >::~tbci_memalloc ( )
inlineprotected

Definition at line 106 of file malloc_cache.h.

Member Function Documentation

template<typename T>
static T* tbci_memalloc< T >::alloc ( const unsigned long  sz)
inlinestatic

Definition at line 109 of file malloc_cache.h.

References T.

template<typename T>
static void tbci_memalloc< T >::dealloc ( const T *const  ptr,
const unsigned long  sz 
)
inlinestatic

Definition at line 111 of file malloc_cache.h.

References T.

Friends And Related Function Documentation

template<typename T>
tbci_memalloc<T>& tbci_s_allocator FGDT ( )
friend

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