per_thread_allocator Class Reference

#include <stdapis/stlportv5/stl/_pthread_alloc.h>

class per_thread_allocator
Public Member Type Definitions
typedefconst _Tp * const_pointer
typedefconst _Tp & const_reference
typedef ptrdiff_t difference_type
typedef_Tp * pointer
typedef_Tp & reference
typedef size_t size_type
typedef_Tp value_type
Public Attributes
__state_type *_M_state
Public Member Functions
per_thread_allocator()
per_thread_allocator(const per_thread_allocator< _Tp > &)
~per_thread_allocator()
pointer address(reference)
const_pointer address(const_reference)
_Tp *allocate(size_type, const void *)
_Tp *allocate(size_type, size_type &)
voidconstruct(pointer, const _Tp &)
voiddeallocate(pointer, size_type)
voiddestroy(pointer)
size_type max_size()

Member Type Definition Documentation

Typedef const_pointer

typedef const _Tp *const_pointer

Typedef const_reference

typedef const _Tp &const_reference

Typedef difference_type

typedef ptrdiff_t difference_type

Typedef pointer

typedef _Tp *pointer

Typedef reference

typedef _Tp &reference

Typedef size_type

typedef size_t size_type

Typedef value_type

typedef _Tpvalue_type

Member Attribute Documentation

_M_state

__state_type *_M_state

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

Constructor & Destructor Documentation

per_thread_allocator ( )

per_thread_allocator()[inline]

per_thread_allocator ( const per_thread_allocator< _Tp > & )

per_thread_allocator(const per_thread_allocator< _Tp > &__a)[inline]

~per_thread_allocator ( )

~per_thread_allocator()[inline]

Member Function Documentation

address ( reference )

pointer address(reference__x)const [inline]

address ( const_reference )

const_pointer address(const_reference__x)const [inline]

allocate ( size_type, const void * )

_Tp *allocate(size_type__n,
const void * = 0
)[inline]

allocate ( size_type, size_type & )

_Tp *allocate(size_type__n,
size_type &__allocated_n
)[inline]

construct ( pointer, const _Tp & )

voidconstruct(pointer__p,
const _Tp &__val
)[inline]

deallocate ( pointer, size_type )

voiddeallocate(pointer__p,
size_type__n
)[inline]

destroy ( pointer )

voiddestroy(pointer_p)[inline]

max_size ( )

size_type max_size()const [inline]