Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

debug::MallocAllocator Class Template Reference

malloc/free によるアロケータ。. More...

#include <MallocAllocator.h>

List of all members.

Public Types

typedef T value_type
typedef size_t size_type
typedef ptrdiff_t difference_type
typedef value_typereference
typedef const value_typeconst_reference
typedef value_typepointer
typedef const value_typeconst_pointer

Public Methods

 MallocAllocator () throw ()
template<class T2>  MallocAllocator (const MallocAllocator< T2 > &) throw ()
 ~MallocAllocator () throw ()
pointer address (reference x) const
const_pointer address (const_reference x) const
pointer allocate (size_type n, const void *=0)
void deallocate (pointer p, size_type)
void construct (pointer p, const value_type &value)
void destroy (pointer p)
size_type max_size () const throw ()


Detailed Description

template<class T>
class debug::MallocAllocator< T >

malloc/free によるアロケータ。.


Member Typedef Documentation

template<class T>
typedef T debug::MallocAllocator::value_type
 

template<class T>
typedef size_t debug::MallocAllocator::size_type
 

template<class T>
typedef ptrdiff_t debug::MallocAllocator::difference_type
 

template<class T>
typedef value_type& debug::MallocAllocator::reference
 

template<class T>
typedef const value_type& debug::MallocAllocator::const_reference
 

template<class T>
typedef value_type* debug::MallocAllocator::pointer
 

template<class T>
typedef const value_type* debug::MallocAllocator::const_pointer
 


Constructor & Destructor Documentation

template<class T>
debug::MallocAllocator< T >::MallocAllocator   throw () [inline]
 

template<class T>
template<class T2>
debug::MallocAllocator< T >::MallocAllocator const MallocAllocator< T2 > &    throw () [inline]
 

template<class T>
debug::MallocAllocator< T >::~MallocAllocator   throw () [inline]
 


Member Function Documentation

template<class T>
pointer debug::MallocAllocator< T >::address reference    x const [inline]
 

template<class T>
const_pointer debug::MallocAllocator< T >::address const_reference    x const [inline]
 

template<class T>
pointer debug::MallocAllocator< T >::allocate size_type    n,
const void *    = 0
[inline]
 

template<class T>
void debug::MallocAllocator< T >::deallocate pointer    p,
size_type   
[inline]
 

template<class T>
void debug::MallocAllocator< T >::construct pointer    p,
const value_type   value
[inline]
 

template<class T>
void debug::MallocAllocator< T >::destroy pointer    p [inline]
 

template<class T>
size_type debug::MallocAllocator< T >::max_size   const throw () [inline]
 


The documentation for this class was generated from the following file:
Generated on Tue May 14 22:56:28 2002 for Debug Utilities by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001