#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) |
Classes | |
| struct | rebind |
This is precisely the allocator defined in the C++ Standard.
Definition at line 51 of file malloc_allocator.h.
| typedef const _Tp* __gnu_cxx::malloc_allocator< _Tp >::const_pointer |
Definition at line 57 of file malloc_allocator.h.
| typedef const _Tp& __gnu_cxx::malloc_allocator< _Tp >::const_reference |
Definition at line 59 of file malloc_allocator.h.
| typedef ptrdiff_t __gnu_cxx::malloc_allocator< _Tp >::difference_type |
Definition at line 55 of file malloc_allocator.h.
| typedef _Tp* __gnu_cxx::malloc_allocator< _Tp >::pointer |
Definition at line 56 of file malloc_allocator.h.
| typedef _Tp& __gnu_cxx::malloc_allocator< _Tp >::reference |
Definition at line 58 of file malloc_allocator.h.
| typedef size_t __gnu_cxx::malloc_allocator< _Tp >::size_type |
Definition at line 54 of file malloc_allocator.h.
| typedef _Tp __gnu_cxx::malloc_allocator< _Tp >::value_type |
Definition at line 60 of file malloc_allocator.h.
| __gnu_cxx::malloc_allocator< _Tp >::malloc_allocator | ( | ) | throw () [inline] |
Definition at line 66 of file malloc_allocator.h.
| __gnu_cxx::malloc_allocator< _Tp >::malloc_allocator | ( | const malloc_allocator< _Tp > & | ) | throw () [inline] |
Definition at line 68 of file malloc_allocator.h.
| __gnu_cxx::malloc_allocator< _Tp >::malloc_allocator | ( | const malloc_allocator< _Tp1 > & | ) | throw () [inline] |
Definition at line 71 of file malloc_allocator.h.
| __gnu_cxx::malloc_allocator< _Tp >::~malloc_allocator | ( | ) | throw () [inline] |
Definition at line 73 of file malloc_allocator.h.
| const_pointer __gnu_cxx::malloc_allocator< _Tp >::address | ( | const_reference | __x | ) | const [inline] |
Definition at line 79 of file malloc_allocator.h.
| pointer __gnu_cxx::malloc_allocator< _Tp >::address | ( | reference | __x | ) | const [inline] |
Definition at line 76 of file malloc_allocator.h.
| pointer __gnu_cxx::malloc_allocator< _Tp >::allocate | ( | size_type | __n, | |
| const void * | = 0 | |||
| ) | [inline] |
| void __gnu_cxx::malloc_allocator< _Tp >::construct | ( | pointer | __p, | |
| const _Tp & | __val | |||
| ) | [inline] |
Definition at line 107 of file malloc_allocator.h.
| void __gnu_cxx::malloc_allocator< _Tp >::deallocate | ( | pointer | __p, | |
| size_type | ||||
| ) | [inline] |
Definition at line 97 of file malloc_allocator.h.
| void __gnu_cxx::malloc_allocator< _Tp >::destroy | ( | pointer | __p | ) | [inline] |
Definition at line 111 of file malloc_allocator.h.
| size_type __gnu_cxx::malloc_allocator< _Tp >::max_size | ( | ) | const throw () [inline] |
Definition at line 101 of file malloc_allocator.h.
1.4.7