man __gnu_cxx::debug_allocator (Fonctions bibliothèques) - A meta-allocator with debugging bits, as per [20.4].

NAME

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

SYNOPSIS



#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

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.

•
all allocation calls operator new
•
all deallocation calls operator delete

(See allocators info for more.)

Definition at line 65 of file debug_allocator.h.

Author

Generated automatically by Doxygen for libstdc++-v3 Source from the source code.