#include <debug_allocator.h>
Public Types | |
typedef _Alloc::size_type | size_type |
typedef _Alloc::difference_type | difference_type |
typedef _Alloc::pointer | pointer |
typedef _Alloc::const_pointer | const_pointer |
typedef _Alloc::reference | reference |
typedef _Alloc::const_reference | const_reference |
typedef _Alloc::value_type | value_type |
Public Member Functions | |
debug_allocator () | |
pointer | allocate (size_type __n) |
pointer | allocate (size_type __n, const void *__hint) |
void | deallocate (pointer __p, size_type __n) |
Private Attributes | |
size_type | _M_extra |
_Alloc | _M_allocator |
This is precisely the allocator defined in the C++ Standard.
Definition at line 63 of file debug_allocator.h.
typedef _Alloc::const_pointer __gnu_cxx::debug_allocator< _Alloc >::const_pointer |
Definition at line 69 of file debug_allocator.h.
typedef _Alloc::const_reference __gnu_cxx::debug_allocator< _Alloc >::const_reference |
Definition at line 71 of file debug_allocator.h.
typedef _Alloc::difference_type __gnu_cxx::debug_allocator< _Alloc >::difference_type |
Definition at line 67 of file debug_allocator.h.
typedef _Alloc::pointer __gnu_cxx::debug_allocator< _Alloc >::pointer |
Definition at line 68 of file debug_allocator.h.
typedef _Alloc::reference __gnu_cxx::debug_allocator< _Alloc >::reference |
Definition at line 70 of file debug_allocator.h.
typedef _Alloc::size_type __gnu_cxx::debug_allocator< _Alloc >::size_type |
Definition at line 66 of file debug_allocator.h.
typedef _Alloc::value_type __gnu_cxx::debug_allocator< _Alloc >::value_type |
Definition at line 72 of file debug_allocator.h.
__gnu_cxx::debug_allocator< _Alloc >::debug_allocator | ( | ) | [inline] |
Definition at line 82 of file debug_allocator.h.
References __gnu_cxx::debug_allocator< _Alloc >::_M_extra.
pointer __gnu_cxx::debug_allocator< _Alloc >::allocate | ( | size_type | __n, | |
const void * | __hint | |||
) | [inline] |
Definition at line 98 of file debug_allocator.h.
References __gnu_cxx::debug_allocator< _Alloc >::_M_allocator, and __gnu_cxx::debug_allocator< _Alloc >::_M_extra.
pointer __gnu_cxx::debug_allocator< _Alloc >::allocate | ( | size_type | __n | ) | [inline] |
Definition at line 89 of file debug_allocator.h.
References __gnu_cxx::debug_allocator< _Alloc >::_M_allocator, and __gnu_cxx::debug_allocator< _Alloc >::_M_extra.
void __gnu_cxx::debug_allocator< _Alloc >::deallocate | ( | pointer | __p, | |
size_type | __n | |||
) | [inline] |
Definition at line 107 of file debug_allocator.h.
References __gnu_cxx::debug_allocator< _Alloc >::_M_allocator, and __gnu_cxx::debug_allocator< _Alloc >::_M_extra.
_Alloc __gnu_cxx::debug_allocator< _Alloc >::_M_allocator [private] |
Definition at line 79 of file debug_allocator.h.
Referenced by __gnu_cxx::debug_allocator< _Alloc >::allocate(), and __gnu_cxx::debug_allocator< _Alloc >::deallocate().
size_type __gnu_cxx::debug_allocator< _Alloc >::_M_extra [private] |
Definition at line 77 of file debug_allocator.h.
Referenced by __gnu_cxx::debug_allocator< _Alloc >::allocate(), __gnu_cxx::debug_allocator< _Alloc >::deallocate(), and __gnu_cxx::debug_allocator< _Alloc >::debug_allocator().