__gnu_cxx::debug_allocator< Alloc > Class Template Reference

A meta-allocator with debugging bits, as per [20.4]. More...

#include <debug_allocator.h>

List of all members.

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


Detailed Description

template<typename Alloc>
class __gnu_cxx::debug_allocator< Alloc >

A meta-allocator with debugging bits, as per [20.4].

This is precisely the allocator defined in the C++ Standard.

(See allocators info for more.)

Definition at line 65 of file debug_allocator.h.


The documentation for this class was generated from the following file:
Generated on Fri Sep 16 11:04:48 2005 for libstdc++-v3 Source by  doxygen 1.4.4