mt_allocator.h File Reference

#include <new>
#include <cstdlib>
#include <bits/functexcept.h>
#include <bits/gthr.h>
#include <bits/atomicity.h>

Go to the source code of this file.

Namespaces

namespace  __gnu_cxx

Classes

struct  __gnu_cxx::__pool_base
 Base class for pool object. More...
struct  __gnu_cxx::__pool_base::_Tune
struct  __gnu_cxx::__pool_base::_Block_address
class  __gnu_cxx::__pool< false >
 Specialization for single thread. More...
union  __gnu_cxx::__pool< false >::_Block_record
struct  __gnu_cxx::__pool< false >::_Bin_record
struct  __gnu_cxx::__common_pool< _PoolTp, _Thread >
struct  __gnu_cxx::__common_pool_base< _PoolTp, false >
struct  __gnu_cxx::__common_pool_policy< _PoolTp, _Thread >
 Policy for shared __pool objects. More...
struct  __gnu_cxx::__common_pool_policy< _PoolTp, _Thread >::_M_rebind< _Tp1, _PoolTp1, _Thread1 >
struct  __gnu_cxx::__per_type_pool< _Tp, _PoolTp, _Thread >
struct  __gnu_cxx::__per_type_pool_base< _Tp, _PoolTp, false >
struct  __gnu_cxx::__per_type_pool_policy< _Tp, _PoolTp, _Thread >
 Policy for individual __pool objects. More...
struct  __gnu_cxx::__per_type_pool_policy< _Tp, _PoolTp, _Thread >::_M_rebind< _Tp1, _PoolTp1, _Thread1 >
class  __gnu_cxx::__mt_alloc_base< _Tp >
 Base class for _Tp dependent member functions. More...
class  __gnu_cxx::__mt_alloc< _Tp, _Poolp >
 This is a fixed size (power of 2) allocator which - when compiled with thread support - will maintain one freelist per size per thread plus a "global" one. Steps are taken to limit the per thread freelist sizes (by returning excess back to the "global" list). More...
struct  __gnu_cxx::__mt_alloc< _Tp, _Poolp >::rebind< _Tp1, _Poolp1 >

Defines

#define _MT_ALLOCATOR_H   1
#define __thread_default   false

Typedefs

typedef void(*) __gnu_cxx::__destroy_handler (void *)

Functions

template<typename _Tp, typename _Poolp>
bool __gnu_cxx::operator== (const __mt_alloc< _Tp, _Poolp > &, const __mt_alloc< _Tp, _Poolp > &)
template<typename _Tp, typename _Poolp>
bool __gnu_cxx::operator!= (const __mt_alloc< _Tp, _Poolp > &, const __mt_alloc< _Tp, _Poolp > &)


Detailed Description

This file is a GNU extension to the Standard C++ Library.

Definition in file mt_allocator.h.


Define Documentation

#define __thread_default   false

Definition at line 598 of file mt_allocator.h.

#define _MT_ALLOCATOR_H   1

Definition at line 35 of file mt_allocator.h.


Generated on Tue Feb 2 16:57:23 2010 for GNU C++ STL by  doxygen 1.4.7