__mt_alloc Class Template Reference
#include <mt_allocator.h>
List of all members.
Detailed Description
template<typename Type>
class __gnu_cxx::__mt_alloc< Type >
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 "global").
Further details: http://gcc.gnu.org/onlinedocs/libstdc++/ext/mt_allocator.html
Definition at line 57 of file mt_allocator.h.
Public Types
-
typedef const Type * const_pointer
-
typedef const Type & const_reference
-
typedef ptrdiff_t difference_type
-
typedef Type * pointer
-
typedef Type & reference
-
typedef size_t size_type
-
typedef Type value_type
Public Member Functions
-
template<typename Type1> __mt_alloc (const __mt_alloc< Type1 > &obj) throw ()
-
__mt_alloc (const __mt_alloc &) throw ()
-
const_pointer address (const_reference x) const
-
pointer address (reference x) const
-
pointer allocate (size_type n, const void *=0)
-
void construct (pointer __p, const Type &__val)
-
void deallocate (pointer __p, size_type n)
-
void destroy (pointer __p)
-
size_type max_size () const throw ()
Static Public Member Functions
-
const Tune S_get_options ()
-
void S_set_options (Tune __t)
The documentation for this class was generated from the following file:
Generated on Sun Jul 25 00:12:38 2004 for libstdc++ source by
1.3.7