libstdc++
|
Public Member Functions | |
debug_allocator (const _Alloc &__a) | |
template<typename _Alloc2 > | |
debug_allocator (const debug_allocator< _Alloc2 > &__a2, typename __convertible< _Alloc2 >::__type=0) | |
pointer | allocate (size_type __n) |
pointer | allocate (size_type __n, const void *__hint) |
template<typename _Tp , typename... _Args> | |
void | construct (_Tp *__p, _Args &&... __args) |
void | construct (pointer __p, const value_type &__val) |
void | deallocate (pointer __p, size_type __n) |
template<typename _Tp > | |
void | destroy (_Tp *__p) |
size_type | max_size () const throw () |
Friends | |
template<typename _Alloc2 > | |
bool | operator!= (const debug_allocator &__lhs, const debug_allocator< _Alloc2 > &__rhs) noexcept |
template<typename _Alloc2 > | |
bool | operator== (const debug_allocator &__lhs, const debug_allocator< _Alloc2 > &__rhs) noexcept |
A meta-allocator with debugging bits.
This is precisely the allocator defined in the C++03 Standard.
Definition at line 60 of file debug_allocator.h.