ldas-tools-al 2.6.7
Loading...
Searching...
No Matches
malloc_allocator< T > Class Template Reference

#include <MallocAllocator.hh>

Classes

struct  rebind

Public Types

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

Public Member Functions

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

Private Member Functions

void operator= (const malloc_allocator &)

Member Typedef Documentation

◆ const_pointer

template<class T>
typedef const value_type* malloc_allocator< T >::const_pointer

◆ const_reference

template<class T>
typedef const value_type& malloc_allocator< T >::const_reference

◆ difference_type

template<class T>
typedef std::ptrdiff_t malloc_allocator< T >::difference_type

◆ pointer

template<class T>
typedef value_type* malloc_allocator< T >::pointer

◆ reference

template<class T>
typedef value_type& malloc_allocator< T >::reference

◆ size_type

template<class T>
typedef std::size_t malloc_allocator< T >::size_type

◆ value_type

template<class T>
typedef T malloc_allocator< T >::value_type

Constructor & Destructor Documentation

◆ malloc_allocator() [1/3]

template<class T>
malloc_allocator< T >::malloc_allocator ( )
inline

◆ malloc_allocator() [2/3]

template<class T>
malloc_allocator< T >::malloc_allocator ( const malloc_allocator< T > & )
inline

◆ malloc_allocator() [3/3]

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

◆ ~malloc_allocator()

template<class T>
malloc_allocator< T >::~malloc_allocator ( )
inline

Member Function Documentation

◆ address() [1/2]

template<class T>
const_pointer malloc_allocator< T >::address ( const_reference x) const
inline

◆ address() [2/2]

template<class T>
pointer malloc_allocator< T >::address ( reference x) const
inline

◆ allocate()

template<class T>
pointer malloc_allocator< T >::allocate ( size_type n,
const_pointer = 0 )
inline

◆ construct()

template<class T>
void malloc_allocator< T >::construct ( pointer p,
const value_type & x )
inline

◆ deallocate()

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

◆ destroy()

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

◆ max_size()

template<class T>
size_type malloc_allocator< T >::max_size ( ) const
inline

◆ operator=()

template<class T>
void malloc_allocator< T >::operator= ( const malloc_allocator< T > & )
private

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.7-build/ldas-tools-al-2.6.7/src/MallocAllocator.hh