Pol  Revision:4b29d2b
Pol::Clib::fixed_allocator< N, B > Class Template Reference

#include <fixalloc.h>

Classes

union  Buffer
 

Public Member Functions

void * allocate ()
 
void * allocate (size_t size)
 
void deallocate (void *)
 
void deallocate (void *size, size_t n)
 

Protected Member Functions

void * refill (void)
 

Private Attributes

Bufferfreelist_
 

Detailed Description

template<size_t N, size_t B>
class Pol::Clib::fixed_allocator< N, B >

Definition at line 33 of file fixalloc.h.

Member Function Documentation

template<size_t N, size_t B>
void * Pol::Clib::fixed_allocator< N, B >::allocate ( size_t  size)

Definition at line 155 of file fixalloc.h.

References Pol::Clib::fixed_allocator< N, B >::allocate().

template<size_t N, size_t B>
void Pol::Clib::fixed_allocator< N, B >::deallocate ( void *  size,
size_t  n 
)

Definition at line 168 of file fixalloc.h.

References Pol::Clib::fixed_allocator< N, B >::deallocate().

template<size_t N, size_t B>
void * Pol::Clib::fixed_allocator< N, B >::refill ( void  )
protected

Member Data Documentation


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