pthread_allocator Class Reference

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

class pthread_allocator : public __stlport_class< pthread_allocator< _Tp > >

Inherits from

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 Member Functions
pthread_allocator()
pthread_allocator(const pthread_allocator< _Tp > &)
~pthread_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()
Inherited Type Definitions
__stlport_class< pthread_allocator< _Tp > >::_Type

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

Constructor & Destructor Documentation

pthread_allocator ( )

pthread_allocator()[inline]

pthread_allocator ( const pthread_allocator< _Tp > & )

pthread_allocator(const pthread_allocator< _Tp > &a)[inline]

~pthread_allocator ( )

~pthread_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]