#include <malloc_allocator.h>
Public Types | |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
typedef _Tp * | pointer |
typedef const _Tp * | const_pointer |
typedef _Tp & | reference |
typedef const _Tp & | const_reference |
typedef _Tp | value_type |
Public Member Functions | |
malloc_allocator () throw () | |
malloc_allocator (const malloc_allocator &) throw () | |
template<typename _Tp1> | malloc_allocator (const malloc_allocator< _Tp1 > &) throw () |
~malloc_allocator () throw () | |
pointer | address (reference __x) const |
const_pointer | address (const_reference __x) const |
pointer | allocate (size_type __n, const void *=0) |
void | deallocate (pointer __p, size_type) |
size_type | max_size () const throw () |
void | construct (pointer __p, const _Tp &__val) |
void | destroy (pointer __p) |
This is precisely the allocator defined in the C++ Standard.
(See allocators info for more.)
Definition at line 47 of file malloc_allocator.h.
|
Definition at line 53 of file malloc_allocator.h. |
|
Definition at line 55 of file malloc_allocator.h. |
|
Definition at line 51 of file malloc_allocator.h. |
|
Definition at line 52 of file malloc_allocator.h. |
|
Definition at line 54 of file malloc_allocator.h. |
|
Definition at line 50 of file malloc_allocator.h. |
|
Definition at line 56 of file malloc_allocator.h. Referenced by __gnu_cxx::malloc_allocator< _Tp >::construct(). |
|
Definition at line 62 of file malloc_allocator.h. |
|
Definition at line 64 of file malloc_allocator.h. |
|
Definition at line 67 of file malloc_allocator.h. |
|
Definition at line 69 of file malloc_allocator.h. |
|
Definition at line 75 of file malloc_allocator.h. |
|
Definition at line 72 of file malloc_allocator.h. |
|
Definition at line 80 of file malloc_allocator.h. |
|
Definition at line 100 of file malloc_allocator.h. References __gnu_cxx::__val, and __gnu_cxx::malloc_allocator< _Tp >::value_type. |
|
Definition at line 90 of file malloc_allocator.h. |
|
Definition at line 104 of file malloc_allocator.h. |
|
Definition at line 94 of file malloc_allocator.h. |