STXXL  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::new_alloc< T > Class Template Reference

Detailed Description

template<class T>
class stxxl::new_alloc< T >

Definition at line 25 of file new_alloc.h.

Classes

struct  rebind
 

Public Types

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

Public Member Functions

 new_alloc () throw ()
 
 new_alloc (const new_alloc &) throw ()
 
template<class U >
 new_alloc (const new_alloc< U > &) throw ()
 
 ~new_alloc () throw ()
 
pointer address (reference value) const
 
const_pointer address (const_reference value) const
 
pointer allocate (size_type num, const void *=0)
 
void construct (pointer p, const T &value)
 
void deallocate (pointer p, size_type)
 
void destroy (pointer p)
 
size_type max_size () const throw ()
 
template<class U >
 operator std::allocator< U > ()
 

Member Typedef Documentation

template<class T>
typedef const T* stxxl::new_alloc< T >::const_pointer

Definition at line 49 of file new_alloc.h.

template<class T>
typedef const T& stxxl::new_alloc< T >::const_reference

Definition at line 51 of file new_alloc.h.

template<class T>
typedef std::ptrdiff_t stxxl::new_alloc< T >::difference_type

Definition at line 53 of file new_alloc.h.

template<class T>
typedef T* stxxl::new_alloc< T >::pointer

Definition at line 48 of file new_alloc.h.

template<class T>
typedef T& stxxl::new_alloc< T >::reference

Definition at line 50 of file new_alloc.h.

template<class T>
typedef std::size_t stxxl::new_alloc< T >::size_type

Definition at line 52 of file new_alloc.h.

template<class T>
typedef T stxxl::new_alloc< T >::value_type

Definition at line 47 of file new_alloc.h.

Constructor & Destructor Documentation

template<class T>
stxxl::new_alloc< T >::new_alloc ( )
throw (
)
inline

Definition at line 71 of file new_alloc.h.

template<class T>
stxxl::new_alloc< T >::new_alloc ( const new_alloc< T > &  )
throw (
)
inline

Definition at line 72 of file new_alloc.h.

template<class T>
template<class U >
stxxl::new_alloc< T >::new_alloc ( const new_alloc< U > &  )
throw (
)
inline

Definition at line 74 of file new_alloc.h.

template<class T>
stxxl::new_alloc< T >::~new_alloc ( )
throw (
)
inline

Definition at line 75 of file new_alloc.h.

Member Function Documentation

template<class T>
pointer stxxl::new_alloc< T >::address ( reference  value) const
inline

Definition at line 62 of file new_alloc.h.

template<class T>
const_pointer stxxl::new_alloc< T >::address ( const_reference  value) const
inline

Definition at line 66 of file new_alloc.h.

template<class T>
pointer stxxl::new_alloc< T >::allocate ( size_type  num,
const void *  = 0 
)
inline

Definition at line 91 of file new_alloc.h.

template<class T>
void stxxl::new_alloc< T >::construct ( pointer  p,
const T &  value 
)
inline

Definition at line 99 of file new_alloc.h.

template<class T>
void stxxl::new_alloc< T >::deallocate ( pointer  p,
size_type   
)
inline

Definition at line 121 of file new_alloc.h.

template<class T>
void stxxl::new_alloc< T >::destroy ( pointer  p)
inline

Definition at line 114 of file new_alloc.h.

template<class T>
size_type stxxl::new_alloc< T >::max_size ( ) const
throw (
)
inline

Definition at line 85 of file new_alloc.h.

References max().

template<class T>
template<class U >
stxxl::new_alloc< T >::operator std::allocator< U > ( )
inline

Definition at line 78 of file new_alloc.h.


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