Poster of Linux kernelThe best gift for a Linux geek
__gnu_cxx::debug_allocator

__gnu_cxx::debug_allocator

Section: C Library Functions (3) Updated: 27 Aug 2009
Local index Up
 

NAME

__gnu_cxx::debug_allocator -

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

 

SYNOPSIS


 

Public Types


typedef _Alloc::const_pointer const_pointer

typedef _Alloc::const_reference const_reference

typedef _Alloc::difference_type difference_type

typedef _Alloc::pointer pointer

typedef _Alloc::reference reference

typedef _Alloc::size_type size_type

typedef _Alloc::value_type value_type
 

Public Member Functions


pointer allocate (size_type __n, const void *__hint)

pointer allocate (size_type __n)

void deallocate (pointer __p, size_type __n)
 

Detailed Description

 

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

This is precisely the allocator defined in the C++ Standard.
all allocation calls operator new
all deallocation calls operator delete

Definition at line 63 of file debug_allocator.h.

 

Author

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


 

Index

NAME
SYNOPSIS
Public Types
Public Member Functions
Detailed Description
template<typename _Alloc> class __gnu_cxx::debug_allocator< _Alloc >
Author

This document was created by man2html, using the manual pages.
Time: 22:37:26 GMT, April 16, 2011