Code::Blocks  SVN r11506
Public Member Functions | Static Private Attributes | List of all members
BlockAllocated< T, pool_size, debug > Class Template Reference

#include <blockallocated.h>

Collaboration diagram for BlockAllocated< T, pool_size, debug >:

Public Member Functions

void * operator new (cb_unused size_t size)
 
void operator delete (void *ptr)
 

Static Private Attributes

static BlockAllocator< T, pool_size, debug > allocator
 

Detailed Description

template<class T, unsigned int pool_size, const bool debug = 0>
class BlockAllocated< T, pool_size, debug >

Definition at line 113 of file blockallocated.h.

Member Function Documentation

◆ operator delete()

template<class T , unsigned int pool_size, const bool debug = 0>
void BlockAllocated< T, pool_size, debug >::operator delete ( void *  ptr)
inline

◆ operator new()

template<class T , unsigned int pool_size, const bool debug = 0>
void* BlockAllocated< T, pool_size, debug >::operator new ( cb_unused size_t  size)
inline

Definition at line 119 of file blockallocated.h.

References BlockAllocator< T, pool_size, debug >::New().

Member Data Documentation

◆ allocator

template<class T , unsigned int pool_size, const bool debug = 0>
BlockAllocator< T, pool_size, debug > BlockAllocated< T, pool_size, debug >::allocator
staticprivate

Definition at line 115 of file blockallocated.h.


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