Public Types | Public Member Functions

nsCppSharedAllocator< T > Class Template Reference

#include <nsCppSharedAllocator.h>

List of all members.

Public Types

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

Public Member Functions

 nsCppSharedAllocator ()
 ~nsCppSharedAllocator ()
pointer address (reference r) const
const_pointer address (const_reference r) const
pointer allocate (size_type n, const void *=0)
void deallocate (pointer p, size_type)
void construct (pointer p, const T &val)
void destroy (pointer p)
size_type max_size () const

template<class T>
class nsCppSharedAllocator< T >


Member Typedef Documentation

template<class T >
typedef const T* nsCppSharedAllocator< T >::const_pointer
template<class T >
typedef const T& nsCppSharedAllocator< T >::const_reference
template<class T >
typedef ptrdiff_t nsCppSharedAllocator< T >::difference_type
template<class T >
typedef T* nsCppSharedAllocator< T >::pointer
template<class T >
typedef T& nsCppSharedAllocator< T >::reference
template<class T >
typedef size_t nsCppSharedAllocator< T >::size_type
template<class T >
typedef T nsCppSharedAllocator< T >::value_type

Constructor & Destructor Documentation

template<class T >
nsCppSharedAllocator< T >::nsCppSharedAllocator (  )  [inline]
template<class T >
nsCppSharedAllocator< T >::~nsCppSharedAllocator (  )  [inline]

Member Function Documentation

template<class T >
pointer nsCppSharedAllocator< T >::address ( reference  r  )  const [inline]
template<class T >
const_pointer nsCppSharedAllocator< T >::address ( const_reference  r  )  const [inline]
template<class T >
pointer nsCppSharedAllocator< T >::allocate ( size_type  n,
const void *  = 0 
) [inline]
template<class T >
void nsCppSharedAllocator< T >::construct ( pointer  p,
const T &  val 
) [inline]
template<class T >
void nsCppSharedAllocator< T >::deallocate ( pointer  p,
size_type   
) [inline]
template<class T >
void nsCppSharedAllocator< T >::destroy ( pointer  p  )  [inline]
template<class T >
size_type nsCppSharedAllocator< T >::max_size (  )  const [inline]

The documentation for this class was generated from the following file: