NEST  2.6.0,not_revisioned_source_dir@0
Classes | Public Types | Public Member Functions | List of all members
libc_allocator_with_realloc< T > Class Template Reference

#include <libc_allocator_with_realloc.h>

Classes

struct  rebind
 

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

 libc_allocator_with_realloc ()
 
 libc_allocator_with_realloc (const libc_allocator_with_realloc &)
 
 ~libc_allocator_with_realloc ()
 
pointer address (reference r) const
 
const_pointer address (const_reference r) const
 
pointer allocate (size_type n, const_pointer=0)
 
void deallocate (pointer p, size_type)
 
pointer reallocate (pointer p, size_type n)
 
size_type max_size () const
 
void construct (pointer p, const value_type &val)
 
void destroy (pointer p)
 
template<class U >
 libc_allocator_with_realloc (const libc_allocator_with_realloc< U > &)
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<class T>
libc_allocator_with_realloc< T >::libc_allocator_with_realloc ( )
inline
template<class T>
libc_allocator_with_realloc< T >::libc_allocator_with_realloc ( const libc_allocator_with_realloc< T > &  )
inline
template<class T>
libc_allocator_with_realloc< T >::~libc_allocator_with_realloc ( )
inline
template<class T>
template<class U >
libc_allocator_with_realloc< T >::libc_allocator_with_realloc ( const libc_allocator_with_realloc< U > &  )
inline

Member Function Documentation

template<class T>
pointer libc_allocator_with_realloc< T >::address ( reference  r) const
inline
template<class T>
const_pointer libc_allocator_with_realloc< T >::address ( const_reference  r) const
inline
template<class T>
pointer libc_allocator_with_realloc< T >::allocate ( size_type  n,
const_pointer  = 0 
)
inline
template<class T>
void libc_allocator_with_realloc< T >::construct ( pointer  p,
const value_type val 
)
inline
template<class T>
void libc_allocator_with_realloc< T >::deallocate ( pointer  p,
size_type   
)
inline
template<class T>
void libc_allocator_with_realloc< T >::destroy ( pointer  p)
inline
template<class T>
size_type libc_allocator_with_realloc< T >::max_size ( ) const
inline
template<class T>
pointer libc_allocator_with_realloc< T >::reallocate ( pointer  p,
size_type  n 
)
inline

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