defalloc.h File Reference

#include "backward_warning.h"
#include "new.h"
#include <stddef.h>
#include <stdlib.h>
#include <limits.h>
#include "iostream.h"
#include "algobase.h"

Go to the source code of this file.

Classes

class  allocator< _Tp >
class  allocator< void >

Defines

#define _BACKWARD_DEFALLOC_H   1

Functions

template<class _Tp>
_Tp * allocate (ptrdiff_t __size, _Tp *)
template<class _Tp>
void deallocate (_Tp *__buffer)


Define Documentation

#define _BACKWARD_DEFALLOC_H   1

Definition at line 56 of file defalloc.h.


Function Documentation

template<class _Tp>
_Tp* allocate ( ptrdiff_t  __size,
_Tp *   
) [inline]

Definition at line 68 of file defalloc.h.

References std::cerr, std::endl(), std::exit(), and std::set_new_handler().

Referenced by __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_get_node(), and allocator< _Tp >::allocate().

template<class _Tp>
void deallocate ( _Tp *  __buffer  )  [inline]

Definition at line 80 of file defalloc.h.

Referenced by __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_put_node(), and bin_search_tree_cond_dtor_entry_dealtor_::~bin_search_tree_cond_dtor_entry_dealtor_().


Generated on Tue Feb 2 16:57:16 2010 for GNU C++ STL by  doxygen 1.4.7