Whole document tree
    

Whole document tree

Templatestd::pthread_allocator class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::pthread_allocator< _Tp > Class Template Reference

#include <pthread_allocimpl.h>

List of all members.

Public Types

typedef size_t size_type
typedef ptrdiff_t difference_type
typedef _Tp * pointer
typedef const _Tp * const_pointer
typedef _Tp & reference
typedef const _Tp & const_reference
typedef _Tp value_type

Public Methods

 pthread_allocator () __STL_NOTHROW
 pthread_allocator (const pthread_allocator &a) __STL_NOTHROW
template<class _OtherType>  pthread_allocator (const pthread_allocator< _OtherType > &) __STL_NOTHROW
 ~pthread_allocator () __STL_NOTHROW
pointer address (reference __x) const
const_pointer address (const_reference __x) const
_Tp * allocate (size_type __n, const void *=0)
void deallocate (pointer __p, size_type __n)
size_type max_size () const __STL_NOTHROW
void construct (pointer __p, const _Tp &__val)
void destroy (pointer _p)

Private Types

typedef pthread_alloc _S_Alloc

template<class _Tp>
class std::pthread_allocator< _Tp >


Member Typedef Documentation

template<class _Tp>
typedef pthread_alloc std::pthread_allocator< _Tp >::_S_Alloc [private]
 

Definition at line 411 of file pthread_allocimpl.h.

template<class _Tp>
typedef const _Tp* std::pthread_allocator< _Tp >::const_pointer
 

Definition at line 416 of file pthread_allocimpl.h.

Referenced by std::pthread_allocator< _Tp >::address().

template<class _Tp>
typedef const _Tp& std::pthread_allocator< _Tp >::const_reference
 

Definition at line 418 of file pthread_allocimpl.h.

Referenced by std::pthread_allocator< _Tp >::address().

template<class _Tp>
typedef ptrdiff_t std::pthread_allocator< _Tp >::difference_type
 

Definition at line 414 of file pthread_allocimpl.h.

template<class _Tp>
typedef _Tp* std::pthread_allocator< _Tp >::pointer
 

Definition at line 415 of file pthread_allocimpl.h.

Referenced by std::pthread_allocator< _Tp >::address(), std::pthread_allocator< _Tp >::construct(), std::pthread_allocator< _Tp >::deallocate(), and std::pthread_allocator< _Tp >::destroy().

template<class _Tp>
typedef _Tp& std::pthread_allocator< _Tp >::reference
 

Definition at line 417 of file pthread_allocimpl.h.

Referenced by std::pthread_allocator< _Tp >::address().

template<class _Tp>
typedef size_t std::pthread_allocator< _Tp >::size_type
 

Definition at line 413 of file pthread_allocimpl.h.

Referenced by std::pthread_allocator< _Tp >::allocate(), std::pthread_allocator< _Tp >::deallocate(), and std::pthread_allocator< _Tp >::max_size().

template<class _Tp>
typedef _Tp std::pthread_allocator< _Tp >::value_type
 

Definition at line 419 of file pthread_allocimpl.h.


Constructor & Destructor Documentation

template<class _Tp>
std::pthread_allocator< _Tp >::pthread_allocator   [inline]
 

Definition at line 425 of file pthread_allocimpl.h.

template<class _Tp>
std::pthread_allocator< _Tp >::pthread_allocator const pthread_allocator< _Tp > &    a [inline]
 

Definition at line 426 of file pthread_allocimpl.h.

template<class _Tp>
template<class _OtherType>
std::pthread_allocator< _Tp >::pthread_allocator const pthread_allocator< _OtherType > &    [inline]
 

Definition at line 428 of file pthread_allocimpl.h.

template<class _Tp>
std::pthread_allocator< _Tp >::~pthread_allocator   [inline]
 

Definition at line 430 of file pthread_allocimpl.h.


Member Function Documentation

template<class _Tp>
const_pointer std::pthread_allocator< _Tp >::address const_reference    __x const [inline]
 

Definition at line 433 of file pthread_allocimpl.h.

References std::pthread_allocator< _Tp >::const_pointer, and std::pthread_allocator< _Tp >::const_reference.

template<class _Tp>
pointer std::pthread_allocator< _Tp >::address reference    __x const [inline]
 

Definition at line 432 of file pthread_allocimpl.h.

References std::pthread_allocator< _Tp >::pointer, and std::pthread_allocator< _Tp >::reference.

template<class _Tp>
_Tp* std::pthread_allocator< _Tp >::allocate size_type    __n,
const void *    = 0
[inline]
 

Definition at line 437 of file pthread_allocimpl.h.

References allocate(), and std::pthread_allocator< _Tp >::size_type.

template<class _Tp>
void std::pthread_allocator< _Tp >::construct pointer    __p,
const _Tp &    __val
[inline]
 

Definition at line 449 of file pthread_allocimpl.h.

References std::pthread_allocator< _Tp >::pointer.

template<class _Tp>
void std::pthread_allocator< _Tp >::deallocate pointer    __p,
size_type    __n
[inline]
 

Definition at line 443 of file pthread_allocimpl.h.

References deallocate(), std::pthread_allocator< _Tp >::pointer, and std::pthread_allocator< _Tp >::size_type.

template<class _Tp>
void std::pthread_allocator< _Tp >::destroy pointer    _p [inline]
 

Definition at line 450 of file pthread_allocimpl.h.

References std::pthread_allocator< _Tp >::pointer.

template<class _Tp>
size_type std::pthread_allocator< _Tp >::max_size   const [inline]
 

Definition at line 446 of file pthread_allocimpl.h.

References std::pthread_allocator< _Tp >::size_type.


The documentation for this class was generated from the following file:
Generated on Mon Apr 8 03:19:25 2002 for libstdc++-v3 Source by doxygen1.2.15