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

Detailed Description

template<class Type>
class stxxl::new_alloc< Type >

Definition at line 24 of file new_alloc.h.

Classes

struct  rebind
 

Public Types

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

Public Member Functions

 new_alloc () throw ()
 
 new_alloc (const new_alloc &) throw ()
 
template<class Rebind >
 new_alloc (const new_alloc< Rebind > &) 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 Type &value)
 
void deallocate (pointer p, size_type)
 
void destroy (pointer p)
 
size_type max_size () const throw ()
 
template<class Rebind >
 operator std::allocator< Rebind > ()
 

Member Typedef Documentation

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

Definition at line 47 of file new_alloc.h.

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

Definition at line 49 of file new_alloc.h.

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

Definition at line 51 of file new_alloc.h.

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

Definition at line 46 of file new_alloc.h.

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

Definition at line 48 of file new_alloc.h.

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

Definition at line 50 of file new_alloc.h.

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

Definition at line 45 of file new_alloc.h.

Constructor & Destructor Documentation

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

Definition at line 69 of file new_alloc.h.

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

Definition at line 70 of file new_alloc.h.

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

Definition at line 72 of file new_alloc.h.

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

Definition at line 73 of file new_alloc.h.

Member Function Documentation

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

Definition at line 60 of file new_alloc.h.

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

Definition at line 64 of file new_alloc.h.

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

Definition at line 89 of file new_alloc.h.

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

Definition at line 97 of file new_alloc.h.

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

Definition at line 119 of file new_alloc.h.

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

Definition at line 112 of file new_alloc.h.

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

Definition at line 83 of file new_alloc.h.

References max().

template<class Type>
template<class Rebind >
stxxl::new_alloc< Type >::operator std::allocator< Rebind > ( )
inline

Definition at line 76 of file new_alloc.h.


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