std::__default_alloc_template< __threads, inst > Class Template Reference

#include <stl_alloc.h>

Collaboration diagram for std::__default_alloc_template< __threads, inst >:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

static void * allocate (size_t n)
static void deallocate (void *__p, size_t n)
static void * reallocate (void *__p, size_t __old_sz, size_t new_sz)

Private Types

enum  
enum  
enum  

Static Private Member Functions

static size_t S_round_up (size_t __bytes)
static size_t S_freelist_index (size_t __bytes)
static void * S_refill (size_t n)
static char * S_chunk_alloc (size_t size, int &nobjs)

Static Private Attributes

static Obj *volatile S_free_list [NFREELISTS]
static char * S_start_free
static char * S_end_free
static size_t S_heap_size
static STL_mutex_lock S_node_allocator_lock
static Atomic_word S_force_new

Friends

struct Lock

Classes

struct  Lock
union  Obj

Detailed Description

template<bool __threads, int inst>
class std::__default_alloc_template< __threads, inst >

(See allocators info for more.)

Definition at line 333 of file stl_alloc.h.


The documentation for this class was generated from the following file:
Generated on Wed Jan 3 19:45:32 2007 for libstdc++-v3 Source by  doxygen 1.5.1