TBCI::tbci_memalloc< T > Class Template Reference

#include <malloc_cache.h>

List of all members.

Static Public Member Functions

static T * alloc (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 ()


Detailed Description

template<typename T>
class TBCI::tbci_memalloc< T >

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

Definition at line 101 of file malloc_cache.h.


Constructor & Destructor Documentation

template<typename T>
TBCI::tbci_memalloc< T >::tbci_memalloc (  )  [inline, protected]

Definition at line 105 of file malloc_cache.h.

template<typename T>
TBCI::tbci_memalloc< T >::~tbci_memalloc (  )  [inline, protected]

Definition at line 106 of file malloc_cache.h.


Member Function Documentation

template<typename T>
static T* TBCI::tbci_memalloc< T >::alloc ( const unsigned long  sz  )  [inline, static]

Definition at line 109 of file malloc_cache.h.

References T.

template<typename T>
static void TBCI::tbci_memalloc< T >::dealloc ( const T *const   ptr,
const unsigned long  sz 
) [inline, static]

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 (  )  [friend]


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

Generated on Wed Nov 20 09:29:35 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6