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

#include <MallocAllocator.hh>

Classes

struct  rebind

Public Types

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 ()
pointer address (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 Types

typedef void value_type
typedef void * pointer
typedef const void * const_pointer

Private Member Functions

void operator= (const malloc_allocator &)

Member Typedef Documentation

◆ const_pointer

typedef const void* malloc_allocator< void >::const_pointer
private

◆ const_reference

typedef const value_type& malloc_allocator< void >::const_reference

◆ difference_type

typedef std::ptrdiff_t malloc_allocator< void >::difference_type

◆ pointer

typedef void* malloc_allocator< void >::pointer
private

◆ reference

typedef value_type& malloc_allocator< void >::reference

◆ size_type

typedef std::size_t malloc_allocator< void >::size_type

◆ value_type

typedef void malloc_allocator< void >::value_type
private

Constructor & Destructor Documentation

◆ malloc_allocator()

◆ ~malloc_allocator()

malloc_allocator< void >::~malloc_allocator ( )
inline

Member Function Documentation

◆ address()

pointer malloc_allocator< void >::address ( reference x) const
inline

◆ allocate()

pointer malloc_allocator< void >::allocate ( size_type n,
const_pointer = 0 )
inline

◆ construct()

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

◆ deallocate()

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

◆ destroy()

void malloc_allocator< void >::destroy ( pointer p)
inline

◆ max_size()

size_type malloc_allocator< void >::max_size ( ) const
inline

◆ operator=()

void malloc_allocator< void >::operator= ( const malloc_allocator< void > & )
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