__gnu_cxx::__pool_alloc< Type > Class Template Reference

Inheritance diagram for __gnu_cxx::__pool_alloc< Type >:

Inheritance graph
[legend]
Collaboration diagram for __gnu_cxx::__pool_alloc< Type >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef size_t size_type
typedef ptrdiff_t difference_type
typedef Type * pointer
typedef const Type * const_pointer
typedef Type & reference
typedef const Type & const_reference
typedef Type value_type

Public Member Functions

 __pool_alloc () throw ()
 __pool_alloc (const __pool_alloc &) throw ()
template<typename Type1>
 __pool_alloc (const __pool_alloc< Type1 > &) throw ()
 ~__pool_alloc () throw ()
pointer address (reference x) const
const_pointer address (const_reference x) const
size_type max_size () const throw ()
void construct (pointer __p, const Type &__val)
void destroy (pointer __p)
pointer allocate (size_type n, const void *=0)
void deallocate (pointer __p, size_type n)

Private Types

enum  
enum  
enum  

Private Member Functions

size_t M_round_up (size_t __bytes)
Obj *volatile * M_get_free_list (size_t __bytes)
mutex_typeM_get_mutex ()
void * M_refill (size_t n)
char * M_allocate_chunk (size_t n, int &nobjs)

Static Private Attributes

static Atomic_word S_force_new
static Obj *volatile S_free_list [S_free_list_size]
static char * S_start_free
static char * S_end_free
static size_t S_heap_size

Classes

struct  rebind

Detailed Description

template<typename Type>
class __gnu_cxx::__pool_alloc< Type >

Definition at line 120 of file pool_allocator.h.


The documentation for this class was generated from the following file:
Generated on Fri Apr 28 16:47:45 2006 for libstdc++-v3 Source by  doxygen 1.4.6