man __gnu_cxx::__pool_alloc (Fonctions bibliothèques) -
NAME
__gnu_cxx::__pool_alloc -
SYNOPSIS
Inherits __gnu_cxx::__pool_alloc_base.
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_type & M_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.
Author
Generated automatically by Doxygen for libstdc++-v3 Source from the source code.