CMS 3D CMS Logo

Static Public Member Functions

BlockWipedAllocated< T > Class Template Reference

#include <BlockWipedAllocator.h>

List of all members.

Static Public Member Functions

static void * alloc ()
static BlockWipedAllocatorallocator ()
static void dealloc (void *p)
static void destroy (T *p)
static void operator delete (void *p)
static void * operator new (size_t)
static void * operator new (size_t, void *p)
static BlockWipedAllocator::Stat stat ()

Detailed Description

template<typename T>
class BlockWipedAllocated< T >

Definition at line 196 of file BlockWipedAllocator.h.


Member Function Documentation

template<typename T>
static void* BlockWipedAllocated< T >::alloc ( ) [inline, static]
template<typename T>
static BlockWipedAllocator& BlockWipedAllocated< T >::allocator ( ) [inline, static]
template<typename T>
static void BlockWipedAllocated< T >::dealloc ( void *  p) [inline, static]
template<typename T>
static void BlockWipedAllocated< T >::destroy ( T p) [inline, static]

Definition at line 229 of file BlockWipedAllocator.h.

{  p->~T(); }
template<typename T>
static void BlockWipedAllocated< T >::operator delete ( void *  p) [inline, static]

Definition at line 202 of file BlockWipedAllocator.h.

                                        {
    dealloc(p);
  }
template<typename T>
static void* BlockWipedAllocated< T >::operator new ( size_t  ) [inline, static]

Definition at line 198 of file BlockWipedAllocator.h.

                                     {
    return alloc();
  }
template<typename T>
static void* BlockWipedAllocated< T >::operator new ( size_t  ,
void *  p 
) [inline, static]

Definition at line 206 of file BlockWipedAllocator.h.

                                               {
    return p;
  }
template<typename T>
static BlockWipedAllocator::Stat BlockWipedAllocated< T >::stat ( ) [inline, static]

Definition at line 238 of file BlockWipedAllocator.h.

                                        {
    return allocator().stat();
  }