SourceForge.jp

クラス テンプレートdkutil::throw_allocator< T >

#include <allocator.h>

すべてのメンバ一覧

Public 型

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
typedef T value_type

Public メソッド

pointer address (reference x) const
const_pointer address (const_reference x) const
 throw_allocator ()
 throw_allocator (const throw_allocator< T > &)
template<class T2> throw_allocator< T > & operator= (const throw_allocator< T2 > &)
pointer allocate (size_type n, const void *hint)
char * _Charalloc (size_type n)
void deallocate (pointer p, size_type n)
void construct (pointer p, const T &val)
void destroy (pointer p)
size_type max_size () const
template<class _Tp1, class _Tp2> throw_allocator< _Tp2 > & __stl_alloc_rebind (throw_allocator< _Tp1 > &__a, const _Tp2 *)
 私の環境ではSTLPort4.5.3ではこれが必要です。

template<class _Tp1, class _Tp2> throw_allocator< _Tp2 > __stl_alloc_create (const throw_allocator< _Tp1 > &, const _Tp2 *)
 STLPortではこれも必要だと思います。.

template<class T>
class dkutil::throw_allocator< T >


型定義

template<class T>
typedef const T* dkutil::throw_allocator< T >::const_pointer
 

template<class T>
typedef const T& dkutil::throw_allocator< T >::const_reference
 

template<class T>
typedef ptrdiff_t dkutil::throw_allocator< T >::difference_type
 

template<class T>
typedef T* dkutil::throw_allocator< T >::pointer
 

template<class T>
typedef T& dkutil::throw_allocator< T >::reference
 

template<class T>
typedef size_t dkutil::throw_allocator< T >::size_type
 

template<class T>
typedef T dkutil::throw_allocator< T >::value_type
 


コンストラクタとデストラクタ

template<class T>
dkutil::throw_allocator< T >::throw_allocator  )  [inline]
 

template<class T>
dkutil::throw_allocator< T >::throw_allocator const throw_allocator< T > &   )  [inline]
 


関数

template<class T>
template<class _Tp1, class _Tp2>
throw_allocator<_Tp2> dkutil::throw_allocator< T >::__stl_alloc_create const throw_allocator< _Tp1 > &  ,
const _Tp2 * 
[inline]
 

STLPortではこれも必要だと思います。.

template<class T>
template<class _Tp1, class _Tp2>
throw_allocator<_Tp2>& dkutil::throw_allocator< T >::__stl_alloc_rebind throw_allocator< _Tp1 > &  __a,
const _Tp2 * 
[inline]
 

私の環境ではSTLPort4.5.3ではこれが必要です。

template<class T>
char* dkutil::throw_allocator< T >::_Charalloc size_type  n  )  [inline]
 

template<class T>
const_pointer dkutil::throw_allocator< T >::address const_reference  x  )  const [inline]
 

template<class T>
pointer dkutil::throw_allocator< T >::address reference  x  )  const [inline]
 

template<class T>
pointer dkutil::throw_allocator< T >::allocate size_type  n,
const void *  hint
[inline]
 

template<class T>
void dkutil::throw_allocator< T >::construct pointer  p,
const T &  val
[inline]
 

template<class T>
void dkutil::throw_allocator< T >::deallocate pointer  p,
size_type  n
[inline]
 

template<class T>
void dkutil::throw_allocator< T >::destroy pointer  p  )  [inline]
 

template<class T>
size_type dkutil::throw_allocator< T >::max_size  )  const [inline]
 

template<class T>
template<class T2>
throw_allocator<T>& dkutil::throw_allocator< T >::operator= const throw_allocator< T2 > &   )  [inline]
 


このクラスの説明は次のファイルから生成されました:
dkutil 1.02リリース前 d金魚専用マニュアルバージョンに対してSun Dec 28 21:23:14 2003に生成されました。 doxygen 1.3.5