Whole document tree
    

Whole document tree

Templatestd::__malloc_alloc_template class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::__malloc_alloc_template< __inst > Class Template Reference

#include <stl_alloc.h>

List of all members.

Static Public Methods

void * allocate (size_t __n)
void deallocate (void *__p, size_t)
void * reallocate (void *__p, size_t, size_t __new_sz)
void(* __set_malloc_handler (void(*__f)()))()

Static Private Methods

void * _S_oom_malloc (size_t)
void * _S_oom_realloc (void *, size_t)

Static Private Attributes

void(* __malloc_alloc_oom_handler )()

template<int __inst>
class std::__malloc_alloc_template< __inst >


Member Function Documentation

template<int __inst>
void(* std::__malloc_alloc_template< __inst >::__set_malloc_handler   [inline, static]
 

Definition at line 132 of file stl_alloc.h.

References std::__malloc_alloc_template< __inst >::__malloc_alloc_oom_handler.

template<int __inst>
void * std::__malloc_alloc_template< __inst >::_S_oom_malloc size_t    [static, private]
 

Definition at line 148 of file stl_alloc.h.

References std::__malloc_alloc_template< __inst >::__malloc_alloc_oom_handler, std::__throw_bad_alloc(), and malloc().

Referenced by std::__malloc_alloc_template< __inst >::allocate().

template<int __inst>
void * std::__malloc_alloc_template< __inst >::_S_oom_realloc void *   ,
size_t   
[static, private]
 

Definition at line 163 of file stl_alloc.h.

References std::__malloc_alloc_template< __inst >::__malloc_alloc_oom_handler, and std::__throw_bad_alloc().

Referenced by std::__malloc_alloc_template< __inst >::reallocate().

template<int __inst>
void* std::__malloc_alloc_template< __inst >::allocate size_t    __n [inline, static]
 

Definition at line 113 of file stl_alloc.h.

References std::__malloc_alloc_template< __inst >::_S_oom_malloc(), and malloc().

template<int __inst>
void std::__malloc_alloc_template< __inst >::deallocate void *    __p,
size_t   
[inline, static]
 

Definition at line 120 of file stl_alloc.h.

References free().

template<int __inst>
void* std::__malloc_alloc_template< __inst >::reallocate void *    __p,
size_t   ,
size_t    __new_sz
[inline, static]
 

Definition at line 125 of file stl_alloc.h.

References std::__malloc_alloc_template< __inst >::_S_oom_realloc().


Member Data Documentation

template<int __inst>
void(* std::__malloc_alloc_template< __inst >::__malloc_alloc_oom_handler)() [static, private]
 

Referenced by std::__malloc_alloc_template< __inst >::__set_malloc_handler(), std::__malloc_alloc_template< __inst >::_S_oom_malloc(), and std::__malloc_alloc_template< __inst >::_S_oom_realloc().


The documentation for this class was generated from the following file:
Generated on Mon Apr 8 03:16:50 2002 for libstdc++-v3 Source by doxygen1.2.15